Delen via


ProtoLink.GetRolePlayerId Method

Gets the Guid idenitifier of the ProtoElement playing the specified domain role in this ProtoLink.

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

Syntax

'Declaration
Public Function GetRolePlayerId ( _
    domainRoleId As Guid _
) As Guid
public Guid GetRolePlayerId(
    Guid domainRoleId
)
public:
Guid GetRolePlayerId(
    Guid domainRoleId
)
member GetRolePlayerId : 
        domainRoleId:Guid -> Guid
public function GetRolePlayerId(
    domainRoleId : Guid
) : Guid

Parameters

  • domainRoleId
    Type: System.Guid

    The Guid of the domain role to locate.

Return Value

Type: System.Guid
The Guid idenitifier of the ProtoElement playing the specified domain role in this ProtoLink.

.NET Framework Security

See Also

Reference

ProtoLink Class

Microsoft.VisualStudio.Modeling Namespace