共用方式為


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
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