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的元件名稱,若未指定該元件名稱。
- 屬性
備註
容器內的元件可能會有名稱,也可能沒有。 如果元件被賦予名稱,該名稱必須在容器內所有元件中是唯一的。