Condividi tramite


SwimlaneHelper.AddSwimlane Method

Adds a swimlane to the diagram at a particular position.

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 AddSwimlane ( _
    currentLane As SwimlaneShape, _
    newLane As SwimlaneShape, _
    diagram As Diagram, _
    addAfter As Boolean _
)
public static void AddSwimlane(
    SwimlaneShape currentLane,
    SwimlaneShape newLane,
    Diagram diagram,
    bool addAfter
)
public:
static void AddSwimlane(
    SwimlaneShape^ currentLane, 
    SwimlaneShape^ newLane, 
    Diagram^ diagram, 
    bool addAfter
)
static member AddSwimlane : 
        currentLane:SwimlaneShape * 
        newLane:SwimlaneShape * 
        diagram:Diagram * 
        addAfter:bool -> unit 
public static function AddSwimlane(
    currentLane : SwimlaneShape, 
    newLane : SwimlaneShape, 
    diagram : Diagram, 
    addAfter : boolean
)

Parameters

  • addAfter
    Type: System.Boolean
    if true add before the specified lane; otherwise add after it.

.NET Framework Security

See Also

Reference

SwimlaneHelper Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace