DslDefinitionModelElementTypeDescriptor.CreateRolePlayerPropertyDescriptor Method

Method to create a PropertyDescriptor which describes a relationship and role to be displayed in the grid.

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

Syntax

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

Parameters

  • sourceDomainRoleInfoAttributes
    Type: array<Attribute[]

    Attributes on the source DomainRoleInfo

Return Value

Type: Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
RolePlayerPropertyDescriptor

.NET Framework Security

See Also

Reference

DslDefinitionModelElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace