ElementTypeDescriptor.GetDomainPropertyAttributes Method
Visual Studio 2012
Returns an array of the custom attributes that are applied to the described property.
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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.