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
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe client view for the diagram.
selectedDomainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfoThe domain class element to add to the diagram.
selectedSwimLane
Type: Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShapeThe swimlane that is assigned to the domain class.
insertAfter
Type: System.Booleantrue to insert the domain class element after the swimlane; false to insert the domain class element before the swimlane.
.NET Framework Security
- 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.