Freigeben über


DomainRoleInfo.SetRolePlayerMoniker Method (ElementLink, Guid, Moniker)

Sets a specified role player on a link.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
Public Shared Sub SetRolePlayerMoniker ( _
    link As ElementLink, _
    domainRoleId As Guid, _
    rolePlayerMoniker As Moniker _
)
public static void SetRolePlayerMoniker(
    ElementLink link,
    Guid domainRoleId,
    Moniker rolePlayerMoniker
)
public:
static void SetRolePlayerMoniker(
    ElementLink^ link, 
    Guid domainRoleId, 
    Moniker^ rolePlayerMoniker
)
static member SetRolePlayerMoniker : 
        link:ElementLink * 
        domainRoleId:Guid * 
        rolePlayerMoniker:Moniker -> unit 
public static function SetRolePlayerMoniker(
    link : ElementLink, 
    domainRoleId : Guid, 
    rolePlayerMoniker : Moniker
)

Parameters

  • domainRoleId
    Type: System.Guid
    The domain role to set the role player for.

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

SetRolePlayerMoniker Overload

Microsoft.VisualStudio.Modeling Namespace