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 关联的组件的名称,或者在未给该组件分配名称的情况下为 nullThe 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.