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
'Declaration
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
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.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.