SwimlaneHelper.AddSwimlane Method

Definition

Adds a swimlane to the diagram at a particular position.

public:
 static void AddSwimlane(Microsoft::VisualStudio::Modeling::Diagrams::SwimlaneShape ^ currentLane, Microsoft::VisualStudio::Modeling::Diagrams::SwimlaneShape ^ newLane, Microsoft::VisualStudio::Modeling::Diagrams::Diagram ^ diagram, bool addAfter);
public static void AddSwimlane (Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape currentLane, Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape newLane, Microsoft.VisualStudio.Modeling.Diagrams.Diagram diagram, bool addAfter);
static member AddSwimlane : Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape * Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape * Microsoft.VisualStudio.Modeling.Diagrams.Diagram * bool -> unit
Public Shared Sub AddSwimlane (currentLane As SwimlaneShape, newLane As SwimlaneShape, diagram As Diagram, addAfter As Boolean)

Parameters

currentLane
SwimlaneShape

Swimlane to position the new lane by.

newLane
SwimlaneShape
diagram
Diagram
addAfter
Boolean

if true add before the specified lane; otherwise add after it.

Applies to