LocalizablePropertyDescriptionAttribute.Description 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 the description associated with the property.
public:
virtual property System::String ^ Description { System::String ^ get(); };
public override string Description { get; }
member this.Description : string
Public Overrides ReadOnly Property Description As String
Property Value
A String that contains the description of the property.
Examples
The following example shows a class that provides a property description.
public class MyTask : Task
{
[LocalizablePropertyDescription (typeof(LocalizedStrings),"MyPropertyDescription")]
public string MyProperty
{ get; set; }
}
internal class LocalizedStrings
{
public static string MyPropertyDescription
{
get
{
// Return the localized string.
}
}
}