Condividi tramite


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

'Dichiarazione
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

  • 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

See Also

Reference

CompartmentRuleHelper Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace