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
domainPropertyInfo
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfoThe descriptor for the domain property to get the custom attributes of.
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
- 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.