Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a descriptor for a role property of a model element.
Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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
- sourceRolePlayer 
 Type: Microsoft.VisualStudio.Modeling.ModelElement- The model element that plays the source role. 
- targetRoleInfo 
 Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo- The domain role information for the target role player. 
- 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
- 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.