CompartmentShape Constructor
Initializes a new instance of the CompartmentShape class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Protected Sub New ( _
partition As Partition, _
propertyAssignments As PropertyAssignment() _
)
protected CompartmentShape(
Partition partition,
PropertyAssignment[] propertyAssignments
)
protected:
CompartmentShape(
Partition^ partition,
array<PropertyAssignment^>^ propertyAssignments
)
new :
partition:Partition *
propertyAssignments:PropertyAssignment[] -> CompartmentShape
protected function CompartmentShape(
partition : Partition,
propertyAssignments : PropertyAssignment[]
)
Parameters
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
The partition for the compartment shape.
- propertyAssignments
Type: array<Microsoft.VisualStudio.Modeling.PropertyAssignment[]
The list of domain property ID/value pairs for the compartment shape.
.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.