ElementTypeDescriptor::GetDescription Method (ElementPropertyDescriptor^)
Visual Studio 2015
Returns a localized string for the description of a domain property.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
public protected: virtual String^ GetDescription( ElementPropertyDescriptor^ propertyDescriptor )
Parameters
- propertyDescriptor
-
Type:
Microsoft.VisualStudio.Modeling.Design::ElementPropertyDescriptor^
The descriptor for the domain property for which to get the description.
| Exception | Condition |
|---|---|
| ArgumentNullException | propertyDescriptor is null. |
When an owner is specified when a domain property descriptor is created, then the Description property of the property descriptor calls the GetDescription method of the owner, and provides itself as the propertyDescriptor parameter.
Show: