संपादित करें

इसके माध्यम से साझा किया गया


DisplayAttribute.ResourceType Property

Definition

Gets or sets the type that contains the resources for the ShortName, Name, Prompt, and Description properties.

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

Property Value

The type of the resource that contains the ShortName, Name, Prompt, and Description properties.

Remarks

If this value is null, the ShortName, Name, Prompt, and Description properties are assumed to be literal, non-localized strings. If this value is not null, the string properties are assumed to be the names of public static properties that return the actual string value.

Applies to