ISite.Name Свойство

Определение

Возвращает или задает имя компонента, связанного с 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, если имя не назначено компоненту.

Атрибуты

Комментарии

Компоненты в контейнере могут быть или не именованы. Если компонент имеет имя, имя должно быть уникальным среди всех компонентов в контейнере.

Применяется к