Freigeben über


DomainRoleInfo.SetRolePlayerMoniker Method

Definition

Overloads

SetRolePlayerMoniker(ElementLink, Moniker)

Sets link role player moniker corresponding to this role.

SetRolePlayerMoniker(ElementLink, Guid, Moniker)

Sets specified role player on a link.

Sets link role player moniker corresponding to this role.

public:
 void SetRolePlayerMoniker(Microsoft::VisualStudio::Modeling::ElementLink ^ link, Microsoft::VisualStudio::Modeling::Moniker ^ rolePlayerMoniker);
public void SetRolePlayerMoniker (Microsoft.VisualStudio.Modeling.ElementLink link, Microsoft.VisualStudio.Modeling.Moniker rolePlayerMoniker);
member this.SetRolePlayerMoniker : Microsoft.VisualStudio.Modeling.ElementLink * Microsoft.VisualStudio.Modeling.Moniker -> unit
Public Sub SetRolePlayerMoniker (link As ElementLink, rolePlayerMoniker As Moniker)

Parameters

link
ElementLink

Element link.

rolePlayerMoniker
Moniker

New role player moniker for this role.

Applies to

Sets specified role player on a link.

public:
 static void SetRolePlayerMoniker(Microsoft::VisualStudio::Modeling::ElementLink ^ link, Guid domainRoleId, Microsoft::VisualStudio::Modeling::Moniker ^ rolePlayerMoniker);
public static void SetRolePlayerMoniker (Microsoft.VisualStudio.Modeling.ElementLink link, Guid domainRoleId, Microsoft.VisualStudio.Modeling.Moniker rolePlayerMoniker);
static member SetRolePlayerMoniker : Microsoft.VisualStudio.Modeling.ElementLink * Guid * Microsoft.VisualStudio.Modeling.Moniker -> unit
Public Shared Sub SetRolePlayerMoniker (link As ElementLink, domainRoleId As Guid, rolePlayerMoniker As Moniker)

Parameters

link
ElementLink

Element link.

domainRoleId
Guid

Domain role to set role player for.

rolePlayerMoniker
Moniker

New role player moniker for this role.

Applies to