ISite.Name 屬性


當由類別實作時,取得或設定與 ISite 相關聯的元件名稱。Gets or sets the name of the component associated with the ISite when implemented by a class.

 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String


ISite 相關聯的元件名稱;或 null (如果沒有名稱指派給元件)。The name of the component associated with the ISite; or null, if no name is assigned to the component.


容器內的元件可能或不會命名。The components within a container might or might not be named. 如果指定元件的名稱, 該名稱在容器內的所有元件中都必須是唯一的。If a component is given a name, the name must be unique among all the components within the container.