Compartir a través de


CompartmentRuleHelper.HandleCompartmentUpdate(ElementLink, Type) Method

Definition

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

public:
 static void HandleCompartmentUpdate(Microsoft::VisualStudio::Modeling::ElementLink ^ link, Type ^ listParentType);
public static void HandleCompartmentUpdate (Microsoft.VisualStudio.Modeling.ElementLink link, Type listParentType);
static member HandleCompartmentUpdate : Microsoft.VisualStudio.Modeling.ElementLink * Type -> unit
Public Shared Sub HandleCompartmentUpdate (link As ElementLink, listParentType As Type)

Parameters

link
ElementLink

ElementLink whose associated compartment must be updated.

listParentType
Type

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

Applies to