Diagram.HandleNewSwimLaneInsertion Method
Adds a swimlane to the diagram.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
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.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.
.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.