Partager via


ElementListCompartmentDescription.CreateCompartment Method

Create a compartment matching this description.

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

Syntax

'Déclaration
Public Overrides Function CreateCompartment ( _
    partition As Partition _
) As Compartment
public override Compartment CreateCompartment(
    Partition partition
)
public:
virtual Compartment^ CreateCompartment(
    Partition^ partition
) override
abstract CreateCompartment : 
        partition:Partition -> Compartment 
override CreateCompartment : 
        partition:Partition -> Compartment 
public override function CreateCompartment(
    partition : Partition
) : Compartment

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.Compartment

.NET Framework Security

See Also

Reference

ElementListCompartmentDescription Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace