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
'Dichiarazione
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
- domainRole
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo
The descriptor for the role property to get the custom attributes of.
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
- 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.