Delen via


Diagram.HandleNewSwimLaneInsertion Method

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)

Syntax

'Declaration
Public Overridable Sub HandleNewSwimLaneInsertion ( _
    view As DiagramClientView, _
    selectedDomainClass As DomainClassInfo, _
    selectedSwimLane As SwimlaneShape, _
    insertAfter As Boolean _
)
public virtual void HandleNewSwimLaneInsertion(
    DiagramClientView view,
    DomainClassInfo selectedDomainClass,
    SwimlaneShape selectedSwimLane,
    bool insertAfter
)
public:
virtual void HandleNewSwimLaneInsertion(
    DiagramClientView^ view, 
    DomainClassInfo^ selectedDomainClass, 
    SwimlaneShape^ selectedSwimLane, 
    bool insertAfter
)
abstract HandleNewSwimLaneInsertion : 
        view:DiagramClientView * 
        selectedDomainClass:DomainClassInfo * 
        selectedSwimLane:SwimlaneShape * 
        insertAfter:bool -> unit  
override HandleNewSwimLaneInsertion : 
        view:DiagramClientView * 
        selectedDomainClass:DomainClassInfo * 
        selectedSwimLane:SwimlaneShape * 
        insertAfter:bool -> unit
public function HandleNewSwimLaneInsertion(
    view : DiagramClientView, 
    selectedDomainClass : DomainClassInfo, 
    selectedSwimLane : SwimlaneShape, 
    insertAfter : boolean
)

Parameters

  • insertAfter
    Type: System.Boolean

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

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace