ISite.Name 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置与类实现时关联的 ISite 组件的名称。
public:
property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string? Name { get; [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The Type of components in the container cannot be statically discovered to validate the name.")] set; }
public string? Name { get; set; }
public string Name { get; set; }
[<set: System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The Type of components in the container cannot be statically discovered to validate the name.")>]
member this.Name : string with get, set
member this.Name : string with get, set
Public Property Name As String
属性值
与 ISite 关联的组件的名称;如果未 null向组件分配任何名称,则为该组件指定名称。
- 属性
注解
容器中的组件可能或未命名。 如果为组件指定了名称,则名称在容器中的所有组件中必须是唯一的。