共用方式為


Diagram(Partition, PropertyAssignment[]) Constructor

Definition

Constructor.

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

Parameters

partition
Partition

Partition where new element is to be created.

propertyAssignments
PropertyAssignment[]

List of domain property id/value pairs to set once the element is created.

Applies to