Diagram Constructor
Initializes a new instance of the Diagram class.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
protected Diagram(
Partition partition,
PropertyAssignment[] propertyAssignments
)
Parameters
- partition
- Type: Microsoft.VisualStudio.Modeling.Partition
The partition for the diagram.
- propertyAssignments
- Type: Microsoft.VisualStudio.Modeling.PropertyAssignment[]
The list of property ID/value pairs for the diagram.
- 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.