DisplayAttribute.ResourceType Tulajdonság

Definíció

Lekéri vagy beállítja a , ShortName, , Nameés Prompt tulajdonságok erőforrásait Descriptiontartalmazó típust.

public:
 property Type ^ ResourceType { Type ^ get(); void set(Type ^ value); };
public Type ResourceType { get; set; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]
public Type? ResourceType { get; set; }
public Type? ResourceType { get; set; }
member this.ResourceType : Type with get, set
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)>]
member this.ResourceType : Type with get, set
Public Property ResourceType As Type

Tulajdonság értéke

A , , ShortNameNameés Prompt tulajdonságokat tartalmazó Descriptionerőforrás típusa.

Attribútumok

Megjegyzések

Ha ez az nullérték, akkor a ShortNamerendszer NamePromptDescription konstans, nem honosított sztringeket feltételez. Ha ez az érték nem null, akkor a sztringtulajdonságok a tényleges sztringértéket visszaadó nyilvános statikus tulajdonságok nevei.

A következőre érvényes: