CompartmentShape.AssociateCompartment(Compartment, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.