Diagram::HandleNewSwimLaneInsertion Method (DiagramClientView^, DomainClassInfo^, SwimlaneShape^, Boolean)

 

Adds a swimlane to the diagram.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual void HandleNewSwimLaneInsertion(
	DiagramClientView^ view,
	DomainClassInfo^ selectedDomainClass,
	SwimlaneShape^ selectedSwimLane,
	bool insertAfter
)

Parameters

view
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView^

The client view for the diagram.

selectedDomainClass
Type: Microsoft.VisualStudio.Modeling::DomainClassInfo^

The domain class element to add to the diagram.

selectedSwimLane
Type: Microsoft.VisualStudio.Modeling.Diagrams::SwimlaneShape^

The swimlane that is assigned to the domain class.

insertAfter
Type: System::Boolean

true to insert the domain class element after the swimlane; false to insert the domain class element before the swimlane.

Return to top
Show: