Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Constructor.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Protected Sub New ( _
partition As Partition, _
roleAssignments As RoleAssignment(), _
propertyAssignments As PropertyAssignment() _
)
protected RelationshipHasRoles(
Partition partition,
RoleAssignment[] roleAssignments,
PropertyAssignment[] propertyAssignments
)
protected:
RelationshipHasRoles(
Partition^ partition,
array<RoleAssignment^>^ roleAssignments,
array<PropertyAssignment^>^ propertyAssignments
)
new :
partition:Partition *
roleAssignments:RoleAssignment[] *
propertyAssignments:PropertyAssignment[] -> RelationshipHasRoles
protected function RelationshipHasRoles(
partition : Partition,
roleAssignments : RoleAssignment[],
propertyAssignments : PropertyAssignment[]
)
Parameters
partition
Type: Microsoft.VisualStudio.Modeling.PartitionThe Partition instance containing this ElementLink
roleAssignments
Type: array<Microsoft.VisualStudio.Modeling.RoleAssignment[]A set of role assignments for roleplayer initialization
propertyAssignments
Type: array<Microsoft.VisualStudio.Modeling.PropertyAssignment[]A set of attribute assignments for attribute initialization
.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.