ElementTypeDescriptor::GetDomainPropertyAttributes Method (DomainPropertyInfo^)

 

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

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

protected:
array<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: array<System::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.

Return to top
Show: