共用方式為


ProtoRolePlayer Constructor

Constructor

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

Syntax

'宣告
Public Sub New ( _
    domainRoleId As Guid, _
    rolePlayerId As Guid, _
    rolePlayerMonikerId As Guid, _
    ordinals As Integer() _
)
public ProtoRolePlayer(
    Guid domainRoleId,
    Guid rolePlayerId,
    Guid rolePlayerMonikerId,
    int[] ordinals
)
public:
ProtoRolePlayer(
    Guid domainRoleId, 
    Guid rolePlayerId, 
    Guid rolePlayerMonikerId, 
    array<int>^ ordinals
)
new : 
        domainRoleId:Guid * 
        rolePlayerId:Guid * 
        rolePlayerMonikerId:Guid * 
        ordinals:int[] -> ProtoRolePlayer
public function ProtoRolePlayer(
    domainRoleId : Guid, 
    rolePlayerId : Guid, 
    rolePlayerMonikerId : Guid, 
    ordinals : int[]
)

Parameters

  • domainRoleId
    Type: System.Guid
    Guid of the DomainRole that this role player plays
  • rolePlayerId
    Type: System.Guid
    Guid of the role player itself
  • rolePlayerMonikerId
    Type: System.Guid
    Guid of the role player moniker
  • ordinals
    Type: array<System.Int32[]
    ordinals of the role with the element link

.NET Framework Security

See Also

Reference

ProtoRolePlayer Class

Microsoft.VisualStudio.Modeling Namespace