Share via


CompartmentShape.EnsureCompartments Method

Creates the compartments for the compartment shape.

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 Overridable Sub EnsureCompartments
public virtual void EnsureCompartments()
public:
virtual void EnsureCompartments()
abstract EnsureCompartments : unit -> unit  
override EnsureCompartments : unit -> unit
public function EnsureCompartments()

Remarks

This method uses GetCompartmentDescriptions and GetCompartmentMappings to initialize each compartment.

.NET Framework Security

See Also

Reference

CompartmentShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace