CompartmentRuleHelper::HandleCompartmentUpdate Method (ElementLink^, Type^)

 

Update the Compartment represented by the ElementLink, so that it will shrink/grow as needed.

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

public:
static void HandleCompartmentUpdate(
	ElementLink^ link,
	Type^ listParentType
)

Parameters

link
Type: Microsoft.VisualStudio.Modeling::ElementLink^

ElementLink whose associated compartment must be updated.

listParentType
Type: System::Type^

Type of the list's parent model element, which we use to find which role player we need to look at.

Update the Compartment that is represented by the ElementLink so that it will shrink or grow, as required.

Return to top
Show: