共用方式為


ITestObjectCollection<TObjectInterface>.Move Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Moves the item of the collection from one position to another.

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

Syntax

'Declaration
Sub Move ( _
    fromIndex As Integer, _
    toIndex As Integer _
)
void Move(
    int fromIndex,
    int toIndex
)
void Move(
    int fromIndex, 
    int toIndex
)
abstract Move : 
        fromIndex:int * 
        toIndex:int -> unit
function Move(
    fromIndex : int, 
    toIndex : int
)

Parameters

  • fromIndex
    Type: Int32

    The index of the item to move.

  • toIndex
    Type: Int32

    The index of the target location.

.NET Framework Security

See Also

Reference

ITestObjectCollection<TObjectInterface> Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace