DisplayAttribute.ResourceType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.