protected string? DescriptionValue { get; set; }
Protected Property DescriptionValue As String
Get
Set
protected:
property String^ DescriptionValue {
String^ get ();
void set (String^ value);
}
member DescriptionValue : string with get, set
The default implementation of the Description property simply returns this value.
This extra property exists so that you can derive from ExampleAttribute and provide a localized version. The derived localizable ExampleAttribute will maintain a private Boolean field to indicate if it has been localized. On the first access to the Description property, it will look up the localized string and store it back in the DescriptionValue property.