CompartmentShape::AssociateCompartment Method (Compartment^, Type^)

 

Assigns a compartment to the compartment shape.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual void AssociateCompartment(
	Compartment^ compartment,
	Type^ listKey
)

Parameters

compartment
Type: Microsoft.VisualStudio.Modeling.Diagrams::Compartment^

The compartment to assign to the compartment shape.

listKey
Type: System::Type^

The key for the compartment.

title

Title of the new compartment.

Return to top
Show: