Partager 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Description As String
public override string Description { get; }
public:
virtual property String^ Description {
    String^ get () override;
}
abstract Description : string with get 
override Description : string with get
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

Microsoft.VisualStudio.Modeling.Design Namespace

ElementTypeDescriptor

DescriptionResourceAttribute