Share via


Compartment Constructor

Initializes a new instance of the Compartment 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 Compartment(
    Partition partition,
    PropertyAssignment[] propertyAssignments
)
protected:
Compartment(
    Partition^ partition, 
    array<PropertyAssignment^>^ propertyAssignments
)
new : 
        partition:Partition * 
        propertyAssignments:PropertyAssignment[] -> Compartment
protected function Compartment(
    partition : Partition, 
    propertyAssignments : PropertyAssignment[]
)

Parameters

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace