共用方式為


CompartmentDescription.CreateCompartment(Partition) Method

Definition

Create a compartment matching this description.

public:
 abstract Microsoft::VisualStudio::Modeling::Diagrams::Compartment ^ CreateCompartment(Microsoft::VisualStudio::Modeling::Partition ^ partition);
public abstract Microsoft.VisualStudio.Modeling.Diagrams.Compartment CreateCompartment (Microsoft.VisualStudio.Modeling.Partition partition);
abstract member CreateCompartment : Microsoft.VisualStudio.Modeling.Partition -> Microsoft.VisualStudio.Modeling.Diagrams.Compartment
Public MustOverride Function CreateCompartment (partition As Partition) As Compartment

Parameters

partition
Partition

Returns

Applies to