Diagram.HandleNewSwimLaneInsertion Method
Adds a swimlane to the diagram.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.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.
- 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.