Export (0) Print
Expand All

ElementTypeDescriptor.GetDescription Method

Updated: July 2008

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

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

protected internal 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.

Return Value

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

ExceptionCondition
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.

Date

History

Reason

July 2008

Added topic.

Content bug fix.

Community Additions

ADD
Show:
© 2014 Microsoft