SwimlaneHelper.AddSwimlane 方法

定义

将泳道添加到关系图中的特定位置。

public:
 static void AddSwimlane(Microsoft::VisualStudio::Modeling::Diagrams::SwimlaneShape ^ currentLane, Microsoft::VisualStudio::Modeling::Diagrams::SwimlaneShape ^ newLane, Microsoft::VisualStudio::Modeling::Diagrams::Diagram ^ diagram, bool addAfter);
public static void AddSwimlane (Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape currentLane, Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape newLane, Microsoft.VisualStudio.Modeling.Diagrams.Diagram diagram, bool addAfter);
static member AddSwimlane : Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape * Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape * Microsoft.VisualStudio.Modeling.Diagrams.Diagram * bool -> unit
Public Shared Sub AddSwimlane (currentLane As SwimlaneShape, newLane As SwimlaneShape, diagram As Diagram, addAfter As Boolean)

参数

currentLane
SwimlaneShape

用于放置新通道的泳道。

newLane
SwimlaneShape
diagram
Diagram
addAfter
Boolean

如果为 true,则在指定的通道之前添加;否则,在其后面添加。

适用于