CompartmentShape.EnsureCompartments Method
Creates the compartments for the compartment shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overridable Sub EnsureCompartments
'Usage
Dim instance As CompartmentShape
instance.EnsureCompartments()
public virtual void EnsureCompartments()
public:
virtual void EnsureCompartments()
public function EnsureCompartments()
Remarks
This method uses GetCompartmentDescriptions and GetCompartmentMappings to initialize each compartment.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.