Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Shared Sub AddSwimlane ( _
currentLane As SwimlaneShape, _
newLane As SwimlaneShape, _
diagram As Diagram, _
addAfter As Boolean _
)
'使用
Dim currentLane As SwimlaneShape
Dim newLane As SwimlaneShape
Dim diagram As Diagram
Dim addAfter As Boolean
SwimlaneHelper.AddSwimlane(currentLane, newLane, _
diagram, addAfter)
public static void AddSwimlane(
SwimlaneShape currentLane,
SwimlaneShape newLane,
Diagram diagram,
bool addAfter
)
public:
static void AddSwimlane(
SwimlaneShape^ currentLane,
SwimlaneShape^ newLane,
Diagram^ diagram,
bool addAfter
)
public static function AddSwimlane(
currentLane : SwimlaneShape,
newLane : SwimlaneShape,
diagram : Diagram,
addAfter : boolean
)
Parameters
- currentLane
Type: Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape
- newLane
Type: Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape
- diagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
- addAfter
Type: System.Boolean
Permissions
- 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.