ElementTypeDescriptor.GetDescription Method

Returns a localized string for the description of a domain property.

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

Syntax

'Declaration
Protected Friend Overridable Function GetDescription ( _
    propertyDescriptor As ElementPropertyDescriptor _
) As String
protected internal virtual string GetDescription(
    ElementPropertyDescriptor propertyDescriptor
)
protected public:
virtual String^ GetDescription(
    ElementPropertyDescriptor^ propertyDescriptor
)
abstract GetDescription : 
        propertyDescriptor:ElementPropertyDescriptor -> string  
override GetDescription : 
        propertyDescriptor:ElementPropertyDescriptor -> string
function GetDescription(
    propertyDescriptor : ElementPropertyDescriptor
) : String

Parameters

Return Value

Type: String
A localized string for the description of the domain property.

Exceptions

Exception Condition
ArgumentNullException

propertyDescriptor is nulla null reference (Nothing in Visual Basic).

Remarks

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.

.NET Framework Security

See Also

Reference

ElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace

ElementPropertyDescriptor