DisplayAttribute.ResourceType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定包含 、 Name、 Prompt及Description屬性資源ShortName的型別。
public:
property Type ^ ResourceType { Type ^ get(); void set(Type ^ value); };
public Type ResourceType { get; set; }
member this.ResourceType : Type with get, set
Public Property ResourceType As Type
屬性值
包含 ShortName、 Name、 Prompt和 Description 屬性的資源類型。
備註
若此值為 null, ShortName則 、 Name、 Prompt及 Description 性質皆為字面且非局部化的字串。 若此值不 null符合,則字串屬性假設為公用靜態屬性的名稱,回傳實際字串值。