DisplayAttribute.ResourceType 屬性

定義

取得或設定型別,其中包含 ShortNameNamePromptDescription 等屬性的資源。

public:
 property Type ^ ResourceType { Type ^ get(); void set(Type ^ value); };
public Type ResourceType { get; set; }
public Type? ResourceType { get; set; }
member this.ResourceType : Type with get, set
Public Property ResourceType As Type

屬性值

包含 ShortNameNamePromptDescription 屬性在內的資源型別。

備註

如果此值為 null,則會 ShortName假設 、 NamePromptDescription 屬性為常值、非本地化字串。 如果此值不是 null,則會假設字串屬性是傳回實際字串值的公用靜態屬性名稱。

適用於