ElementTypeDescriptor.CreateRolePlayerPropertyDescriptor Method

Definition

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

protected:
 virtual Microsoft::VisualStudio::Modeling::Design::RolePlayerPropertyDescriptor ^ CreateRolePlayerPropertyDescriptor(Microsoft::VisualStudio::Modeling::ModelElement ^ sourceRolePlayer, Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ targetRoleInfo, cli::array <Attribute ^> ^ sourceDomainRoleInfoAttributes);
protected virtual Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor CreateRolePlayerPropertyDescriptor (Microsoft.VisualStudio.Modeling.ModelElement sourceRolePlayer, Microsoft.VisualStudio.Modeling.DomainRoleInfo targetRoleInfo, Attribute[] sourceDomainRoleInfoAttributes);
abstract member CreateRolePlayerPropertyDescriptor : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainRoleInfo * Attribute[] -> Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
override this.CreateRolePlayerPropertyDescriptor : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainRoleInfo * Attribute[] -> Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
Protected Overridable Function CreateRolePlayerPropertyDescriptor (sourceRolePlayer As ModelElement, targetRoleInfo As DomainRoleInfo, sourceDomainRoleInfoAttributes As Attribute()) As RolePlayerPropertyDescriptor

Parameters

sourceRolePlayer
ModelElement

ModelElement playing the source role.

targetRoleInfo
DomainRoleInfo

DomainRoleInfo describing the target role.

sourceDomainRoleInfoAttributes
Attribute[]

Attributes on the source DomainRoleInfo

Returns

RolePlayerPropertyDescriptor

Applies to