Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a swimlane to the diagram at a particular position.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
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
- currentLane 
 Type: Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape- Swimlane to position the new lane by. 
- newLane
 Type: Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape
- diagram
 Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
- addAfter 
 Type: System.Boolean- if true add before the specified lane; otherwise add after it. 
.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.