SwimlaneHelper.AddSwimlane 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将泳道添加到关系图中的特定位置。
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,则在指定的通道之前添加;否则,在其后面添加。