다음을 통해 공유


Compartment(Partition, PropertyAssignment[]) Constructor

Definition

Constructor.

protected:
 Compartment(Microsoft::VisualStudio::Modeling::Partition ^ partition, cli::array <Microsoft::VisualStudio::Modeling::PropertyAssignment ^> ^ propertyAssignments);
protected Compartment (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments);
new Microsoft.VisualStudio.Modeling.Diagrams.Compartment : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.PropertyAssignment[] -> Microsoft.VisualStudio.Modeling.Diagrams.Compartment
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