Udostępnij za pośrednictwem


DomainRoleInfo.GetRolePlayer Method

Definition

Overloads

GetRolePlayer(ElementLink)

Gets link role player corresponding to this role.

GetRolePlayer(ElementLink, Guid)

Gets specified role player from a link.

GetRolePlayer(ElementLink)

Gets link role player corresponding to this role.

public:
 Microsoft::VisualStudio::Modeling::ModelElement ^ GetRolePlayer(Microsoft::VisualStudio::Modeling::ElementLink ^ link);
public Microsoft.VisualStudio.Modeling.ModelElement GetRolePlayer (Microsoft.VisualStudio.Modeling.ElementLink link);
member this.GetRolePlayer : Microsoft.VisualStudio.Modeling.ElementLink -> Microsoft.VisualStudio.Modeling.ModelElement
Public Function GetRolePlayer (link As ElementLink) As ModelElement

Parameters

link
ElementLink

Element link.

Returns

Role player for this role.

Applies to

Gets specified role player from a link.

public:
 static Microsoft::VisualStudio::Modeling::ModelElement ^ GetRolePlayer(Microsoft::VisualStudio::Modeling::ElementLink ^ link, Guid domainRoleId);
public static Microsoft.VisualStudio.Modeling.ModelElement GetRolePlayer (Microsoft.VisualStudio.Modeling.ElementLink link, Guid domainRoleId);
static member GetRolePlayer : Microsoft.VisualStudio.Modeling.ElementLink * Guid -> Microsoft.VisualStudio.Modeling.ModelElement
Public Shared Function GetRolePlayer (link As ElementLink, domainRoleId As Guid) As ModelElement

Parameters

link
ElementLink

Element link.

domainRoleId
Guid

Domain role to get role player for.

Returns

Role player.

Applies to