共用方式為


TestActionCollection.MoveTo Method (Int32, Int32, TestActionCollection)

 

Moves a test action from a collection to a different collection.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

public void MoveTo(
    int fromIndex,
    int toIndex,
    TestActionCollection newCollection
)
public:
void MoveTo(
    int fromIndex,
    int toIndex,
    TestActionCollection^ newCollection
)
member MoveTo : 
        fromIndex:int *
        toIndex:int *
        newCollection:TestActionCollection -> unit
Public Sub MoveTo (
    fromIndex As Integer,
    toIndex As Integer,
    newCollection As TestActionCollection
)

Parameters

  • fromIndex
    Type: System.Int32

    The index in this collection of the test action to be moved.

  • toIndex
    Type: System.Int32

    The index in the new collection for the moved test action.

See Also

TestActionCollection
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top