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
sourceRolePlayer
Type: Microsoft.VisualStudio.Modeling.ModelElementModelElement playing the source role.
targetRoleInfo
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfoDomainRoleInfo describing the target role.
sourceDomainRoleInfoAttributes
Type: array<Attribute[]Attributes on the source DomainRoleInfo
Return Value
Type: Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
RolePlayerPropertyDescriptor
.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.
See Also
Reference
DslDefinitionModelElementTypeDescriptor Class
Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace