CompartmentShape.EnsureCompartments Method
Creates the compartments for the compartment shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
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
- 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.