Share via


ElementTypeDescriptor.CreateRolePlayerPropertyDescriptor Method

Creates a descriptor for a role property of a model element.

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

Syntax

'Declaration
Protected Overridable Function CreateRolePlayerPropertyDescriptor ( _
    sourceRolePlayer As ModelElement, _
    targetRoleInfo As DomainRoleInfo, _
    sourceDomainRoleInfoAttributes As Attribute() _
) As RolePlayerPropertyDescriptor
protected virtual RolePlayerPropertyDescriptor CreateRolePlayerPropertyDescriptor(
    ModelElement sourceRolePlayer,
    DomainRoleInfo targetRoleInfo,
    Attribute[] sourceDomainRoleInfoAttributes
)
protected:
virtual RolePlayerPropertyDescriptor^ CreateRolePlayerPropertyDescriptor(
    ModelElement^ sourceRolePlayer, 
    DomainRoleInfo^ targetRoleInfo, 
    array<Attribute^>^ sourceDomainRoleInfoAttributes
)
abstract CreateRolePlayerPropertyDescriptor : 
        sourceRolePlayer:ModelElement * 
        targetRoleInfo:DomainRoleInfo * 
        sourceDomainRoleInfoAttributes:Attribute[] -> RolePlayerPropertyDescriptor 
override CreateRolePlayerPropertyDescriptor : 
        sourceRolePlayer:ModelElement * 
        targetRoleInfo:DomainRoleInfo * 
        sourceDomainRoleInfoAttributes:Attribute[] -> RolePlayerPropertyDescriptor 
protected function CreateRolePlayerPropertyDescriptor(
    sourceRolePlayer : ModelElement, 
    targetRoleInfo : DomainRoleInfo, 
    sourceDomainRoleInfoAttributes : Attribute[]
) : RolePlayerPropertyDescriptor

Parameters

  • sourceDomainRoleInfoAttributes
    Type: array<System.Attribute[]
    An array that contains the attributes to apply to the source role property.

Return Value

Type: Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
The descriptor for the role property of the model element.

.NET Framework Security

See Also

Reference

ElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace