This topic has not yet been rated - Rate this topic

ElementTypeDescriptor.GetDomainPropertyAttributes Method

Returns an array of the custom attributes that are applied to the described property.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
protected Attribute[] GetDomainPropertyAttributes(
	DomainPropertyInfo domainPropertyInfo
)

Parameters

domainPropertyInfo
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo

The descriptor for the domain property to get the custom attributes of.

Return Value

Type: Attribute[]
The array of the custom attributes that are applied to the described property.

If the property has no custom attributes, then this method returns an empty array.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.