Share via


ElementPropertyDescriptor.Description Property

Gets the description of the described property, as specified in the DescriptionResourceAttribute.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Description As String
'Usage
Dim instance As ElementPropertyDescriptor 
Dim value As String 

value = instance.Description
public override string Description { get; }
public:
virtual property String^ Description {
    String^ get () override;
}
public override function get Description () : String

Property Value

Type: System.String
The description of the described property. If the property does not have a DescriptionResourceAttribute or DescriptionAttribute attribute, then the empty string ("") is returned.

Remarks

If the owner parameter was specified in the constructor for this property descriptor, then the GetDescription method of the owner provides the description, where this descriptor is passed in the propertyDescriptor parameter.

.NET Framework Security

See Also

Reference

ElementPropertyDescriptor Class

ElementPropertyDescriptor Members

Microsoft.VisualStudio.Modeling.Design Namespace

ElementTypeDescriptor

DescriptionResourceAttribute

Change History

Date

History

Reason

July 2008

Added topic.

Content bug fix.