Partilhar via


ElementLink(Partition, RoleAssignment[], PropertyAssignment[]) Constructor

Definition

Creates a new instance of the ElementLink class.

protected:
 ElementLink(Microsoft::VisualStudio::Modeling::Partition ^ partition, cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments, cli::array <Microsoft::VisualStudio::Modeling::PropertyAssignment ^> ^ propertyAssignments);
protected ElementLink (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments, Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments);
new Microsoft.VisualStudio.Modeling.ElementLink : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.RoleAssignment[] * Microsoft.VisualStudio.Modeling.PropertyAssignment[] -> Microsoft.VisualStudio.Modeling.ElementLink
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