다음을 통해 공유


CompartmentShape.AssociateCompartment(Compartment, Type) Method

Definition

Associate a compartment with this compartmentShape and add it to its list of nested child shapes.

public:
 virtual void AssociateCompartment(Microsoft::VisualStudio::Modeling::Diagrams::Compartment ^ compartment, Type ^ listKey);
public virtual void AssociateCompartment (Microsoft.VisualStudio.Modeling.Diagrams.Compartment compartment, Type listKey);
abstract member AssociateCompartment : Microsoft.VisualStudio.Modeling.Diagrams.Compartment * Type -> unit
override this.AssociateCompartment : Microsoft.VisualStudio.Modeling.Diagrams.Compartment * Type -> unit
Public Overridable Sub AssociateCompartment (compartment As Compartment, listKey As Type)

Parameters

compartment
Compartment

Compartment to associate.

listKey
Type

Key used to lookup compartment.

Applies to