CategoryAttribute.Category 屬性

定義

取得屬性 (Property) 分類的名稱或與這個屬性 (Attribute) 所套用的事件。Gets the name of the category for the property or event that this attribute is applied to.

public:
 property System::String ^ Category { System::String ^ get(); };
public string Category { get; }
member this.Category : string
Public ReadOnly Property Category As String

屬性值

屬性 (Property) 分類的名稱或與這個屬性 (Attribute) 所套用的事件。The name of the category for the property or event that this attribute is applied to.

備註

這個屬性會呼叫 GetLocalizedString,以在第一次存取類別目錄時取得其當地語系化名稱。This property calls GetLocalizedString to get the localized name of the category the first time it is accessed.

適用於