CompartmentRuleHelper.HandleCompartmentUpdate(ElementLink, 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.
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.