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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.