CompartmentShape.AssociateCompartment Method

Assigns a compartment to 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 AssociateCompartment ( _
    compartment As Compartment, _
    listKey As Type _
)
public virtual void AssociateCompartment(
    Compartment compartment,
    Type listKey
)
public:
virtual void AssociateCompartment(
    Compartment^ compartment, 
    Type^ listKey
)
abstract AssociateCompartment : 
        compartment:Compartment * 
        listKey:Type -> unit 
override AssociateCompartment : 
        compartment:Compartment * 
        listKey:Type -> unit 
public function AssociateCompartment(
    compartment : Compartment, 
    listKey : Type
)

Parameters

  • listKey
    Type: System.Type
    The key for the compartment.

.NET Framework Security

See Also

Reference

CompartmentShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace