CompartmentDescription.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
'Declaração
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
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.Compartment
Remarks
Create a compartment that matches this description.
.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.