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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
‘선언
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.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.
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.