Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub New ( _
domainRoleId As Guid, _
rolePlayerId As Guid, _
rolePlayerMonikerId As Guid, _
ordinals As Integer() _
)
'使用
Dim domainRoleId As Guid
Dim rolePlayerId As Guid
Dim rolePlayerMonikerId As Guid
Dim ordinals As Integer()
Dim instance As New ProtoRolePlayer(domainRoleId, _
rolePlayerId, rolePlayerMonikerId, _
ordinals)
public ProtoRolePlayer(
Guid domainRoleId,
Guid rolePlayerId,
Guid rolePlayerMonikerId,
int[] ordinals
)
public:
ProtoRolePlayer(
Guid domainRoleId,
Guid rolePlayerId,
Guid rolePlayerMonikerId,
array<int>^ ordinals
)
public function ProtoRolePlayer(
domainRoleId : Guid,
rolePlayerId : Guid,
rolePlayerMonikerId : Guid,
ordinals : int[]
)
Parameters
- domainRoleId
Type: System.Guid
- rolePlayerId
Type: System.Guid
- rolePlayerMonikerId
Type: System.Guid
- ordinals
Type: []
Permissions
- 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.