SwimlaneHelper::AddSwimlane Method (SwimlaneShape^, SwimlaneShape^, Diagram^, Boolean)

 

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)

public:
static void AddSwimlane(
	SwimlaneShape^ currentLane,
	SwimlaneShape^ newLane,
	Diagram^ diagram,
	bool addAfter
)

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.

Return to top
Show: