다음을 통해 공유


ElementTypeDescriptor.GetRolePlayerPropertyAttributes Method

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

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

Syntax

‘선언
Protected Function GetRolePlayerPropertyAttributes ( _
    domainRole As DomainRoleInfo _
) As Attribute()
protected Attribute[] GetRolePlayerPropertyAttributes(
    DomainRoleInfo domainRole
)
protected:
array<Attribute^>^ GetRolePlayerPropertyAttributes(
    DomainRoleInfo^ domainRole
)
member GetRolePlayerPropertyAttributes : 
        domainRole:DomainRoleInfo -> Attribute[] 
protected function GetRolePlayerPropertyAttributes(
    domainRole : DomainRoleInfo
) : Attribute[]

Parameters

Return Value

Type: array<System.Attribute[]
An array of the custom attributes that are applied to the described role 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