SwimlaneHelper.AddSwimlane Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.