Share via


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)

Syntax

'Declaration
Protected Function GetDomainPropertyAttributes ( _
    domainPropertyInfo As DomainPropertyInfo _
) As Attribute()
protected Attribute[] GetDomainPropertyAttributes(
    DomainPropertyInfo domainPropertyInfo
)
protected:
array<Attribute^>^ GetDomainPropertyAttributes(
    DomainPropertyInfo^ domainPropertyInfo
)
member GetDomainPropertyAttributes : 
        domainPropertyInfo:DomainPropertyInfo -> Attribute[] 
protected function GetDomainPropertyAttributes(
    domainPropertyInfo : DomainPropertyInfo
) : Attribute[]

Parameters

Return Value

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

Remarks

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

.NET Framework Security

See Also

Reference

ElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace