Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the Diagram class.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Protected Sub New ( _
    partition As Partition, _
    propertyAssignments As PropertyAssignment() _
)
protected Diagram(
    Partition partition,
    PropertyAssignment[] propertyAssignments
)
protected:
Diagram(
    Partition^ partition, 
    array<PropertyAssignment^>^ propertyAssignments
)
new : 
        partition:Partition * 
        propertyAssignments:PropertyAssignment[] -> Diagram
protected function Diagram(
    partition : Partition, 
    propertyAssignments : PropertyAssignment[]
)
Parameters
- partition 
 Type: Microsoft.VisualStudio.Modeling.Partition- The partition for the diagram. 
- propertyAssignments 
 Type: array<Microsoft.VisualStudio.Modeling.PropertyAssignment[]- The list of property ID/value pairs for the diagram. 
.NET Framework Security
- 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.