共用方式為


DesignerHasDiagram Constructors

Definition

Overloads

DesignerHasDiagram(Designer, Diagram)

Constructor Creates a DesignerHasDiagram link in the same Partition as the given Designer

DesignerHasDiagram(Partition, RoleAssignment[])

Constructor

DesignerHasDiagram(Store, RoleAssignment[])

Constructor

DesignerHasDiagram(Partition, RoleAssignment[], PropertyAssignment[])

Constructor

DesignerHasDiagram(Store, RoleAssignment[], PropertyAssignment[])

Constructor

DesignerHasDiagram(Designer, Diagram)

Constructor Creates a DesignerHasDiagram link in the same Partition as the given Designer

public:
 DesignerHasDiagram(Microsoft::VisualStudio::Modeling::DslDefinition::Designer ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::Diagram ^ target);
public DesignerHasDiagram (Microsoft.VisualStudio.Modeling.DslDefinition.Designer source, Microsoft.VisualStudio.Modeling.DslDefinition.Diagram target);
new Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram : Microsoft.VisualStudio.Modeling.DslDefinition.Designer * Microsoft.VisualStudio.Modeling.DslDefinition.Diagram -> Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram
Public Sub New (source As Designer, target As Diagram)

Parameters

source
Designer

Designer to use as the source of the relationship.

target
Diagram

Diagram to use as the target of the relationship.

Applies to

DesignerHasDiagram(Partition, RoleAssignment[])

Constructor

public:
 DesignerHasDiagram(Microsoft::VisualStudio::Modeling::Partition ^ partition, ... cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments);
public DesignerHasDiagram (Microsoft.VisualStudio.Modeling.Partition partition, params Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.RoleAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram
Public Sub New (partition As Partition, ParamArray roleAssignments As RoleAssignment())

Parameters

partition
Partition

Partition where new link is to be created.

roleAssignments
RoleAssignment[]

List of relationship role assignments.

Applies to

DesignerHasDiagram(Store, RoleAssignment[])

Constructor

public:
 DesignerHasDiagram(Microsoft::VisualStudio::Modeling::Store ^ store, ... cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments);
public DesignerHasDiagram (Microsoft.VisualStudio.Modeling.Store store, params Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.RoleAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram
Public Sub New (store As Store, ParamArray roleAssignments As RoleAssignment())

Parameters

store
Store

Store where new link is to be created.

roleAssignments
RoleAssignment[]

List of relationship role assignments.

Applies to

DesignerHasDiagram(Partition, RoleAssignment[], PropertyAssignment[])

Constructor

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

Parameters

partition
Partition

Partition where new link is to be created.

roleAssignments
RoleAssignment[]

List of relationship role assignments.

propertyAssignments
PropertyAssignment[]

List of properties assignments to set on the new link.

Applies to

DesignerHasDiagram(Store, RoleAssignment[], PropertyAssignment[])

Constructor

public:
 DesignerHasDiagram(Microsoft::VisualStudio::Modeling::Store ^ store, cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments, cli::array <Microsoft::VisualStudio::Modeling::PropertyAssignment ^> ^ propertyAssignments);
public DesignerHasDiagram (Microsoft.VisualStudio.Modeling.Store store, Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments, Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.RoleAssignment[] * Microsoft.VisualStudio.Modeling.PropertyAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram
Public Sub New (store As Store, roleAssignments As RoleAssignment(), propertyAssignments As PropertyAssignment())

Parameters

store
Store

Store where new link is to be created.

roleAssignments
RoleAssignment[]

List of relationship role assignments.

propertyAssignments
PropertyAssignment[]

List of properties assignments to set on the new link.

Applies to