CompartmentRuleHelper.HandleCompartmentUpdate Method
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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Shared Sub HandleCompartmentUpdate ( _
link As ElementLink, _
listParentType As Type _
)
public static void HandleCompartmentUpdate(
ElementLink link,
Type listParentType
)
public:
static void HandleCompartmentUpdate(
ElementLink^ link,
Type^ listParentType
)
static member HandleCompartmentUpdate :
link:ElementLink *
listParentType:Type -> unit
public static function HandleCompartmentUpdate(
link : ElementLink,
listParentType : Type
)
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.
Remarks
Update the Compartment that is represented by the ElementLink so that it will shrink or grow, as required.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.