Partager via


TestActionCollection.MoveTo Method

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

'Declaration
Public Sub MoveTo ( _
    fromIndex As Integer, _
    toIndex As Integer, _
    newCollection As TestActionCollection _
)
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 function MoveTo(
    fromIndex : int, 
    toIndex : int, 
    newCollection : TestActionCollection
)

Parameters

  • fromIndex
    Type: Int32

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

  • toIndex
    Type: Int32

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

.NET Framework Security

See Also

Reference

TestActionCollection Class

Microsoft.TeamFoundation.TestManagement.Client Namespace

TestActionCollection