DomainRoleInfo.SetRolePlayerMoniker Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetRolePlayerMoniker(ElementLink, Moniker) |
Sets link role player moniker corresponding to this role. |
SetRolePlayerMoniker(ElementLink, Guid, Moniker) |
Sets specified role player on a link. |
SetRolePlayerMoniker(ElementLink, Moniker)
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
SetRolePlayerMoniker(ElementLink, Guid, Moniker)
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.