ElementTypeDescriptor::GetCategory Method (ElementPropertyDescriptor^)

 

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

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

public protected:
virtual String^ GetCategory(
	ElementPropertyDescriptor^ propertyDescriptor
)

Parameters

propertyDescriptor
Type: Microsoft.VisualStudio.Modeling.Design::ElementPropertyDescriptor^

The descriptor for the domain property for which to get the category.

Return Value

Type: System::String^

A localized string for the category of a domain property.

Exception Condition
ArgumentNullException

propertyDescriptor is null.

When an owner is specified when a domain property descriptor is created, then the Category property of the property descriptor uses the category returned by the GetCategory method of the owner. If this method returns null, then the property descriptor uses the metadata of the described property to determine the category of the property.

Return to top
Show: