Udostępnij za pośrednictwem


RelationshipHasRoles Constructor

Definition

Constructor.

protected:
 RelationshipHasRoles(Microsoft::VisualStudio::Modeling::Partition ^ partition, cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments, cli::array <Microsoft::VisualStudio::Modeling::PropertyAssignment ^> ^ propertyAssignments);
protected RelationshipHasRoles (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments, Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRoles : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.RoleAssignment[] * Microsoft.VisualStudio.Modeling.PropertyAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRoles
Protected Sub New (partition As Partition, roleAssignments As RoleAssignment(), propertyAssignments As PropertyAssignment())

Parameters

partition
Partition

The Partition instance containing this ElementLink

roleAssignments
RoleAssignment[]

A set of role assignments for roleplayer initialization

propertyAssignments
PropertyAssignment[]

A set of attribute assignments for attribute initialization

Applies to