Freigeben über


DomainRoleInfo.GetRolePlayer Method (ElementLink, Guid)

Gets the specified role player from a link.

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

Syntax

'Declaration
Public Shared Function GetRolePlayer ( _
    link As ElementLink, _
    domainRoleId As Guid _
) As ModelElement
public static ModelElement GetRolePlayer(
    ElementLink link,
    Guid domainRoleId
)
public:
static ModelElement^ GetRolePlayer(
    ElementLink^ link, 
    Guid domainRoleId
)
static member GetRolePlayer : 
        link:ElementLink * 
        domainRoleId:Guid -> ModelElement
public static function GetRolePlayer(
    link : ElementLink, 
    domainRoleId : Guid
) : ModelElement

Parameters

  • domainRoleId
    Type: System.Guid

    The domain role to get the role player for.

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement
A ModelElement that is the role player.

.NET Framework Security

See Also

Reference

DomainRoleInfo Class

GetRolePlayer Overload

Microsoft.VisualStudio.Modeling Namespace