Delen via


CompartmentDescription.CreateCompartment Method

Create a compartment matching this description.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public MustOverride Function CreateCompartment ( _
    partition As Partition _
) As Compartment
public abstract Compartment CreateCompartment(
    Partition partition
)
public:
virtual Compartment^ CreateCompartment(
    Partition^ partition
) abstract
abstract CreateCompartment : 
        partition:Partition -> Compartment
public abstract function CreateCompartment(
    partition : Partition
) : Compartment

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.Compartment

Remarks

Create a compartment that matches this description.

.NET Framework Security

See Also

Reference

CompartmentDescription Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace