共用方式為


ITestObjectCollection<TObjectInterface>.Move 方法

這個應用程式開發介面支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

將集合的項目從某個位置移至另一個位置。

命名空間:  Microsoft.TeamFoundation.TestManagement.Client
組件:  Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

語法

'宣告
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
)

參數

  • fromIndex
    類型:Int32

    要移動之項目的索引。

  • toIndex
    類型:Int32

    目標位置的索引。

.NET Framework 安全性

請參閱

參考

ITestObjectCollection<TObjectInterface> 介面

Microsoft.TeamFoundation.TestManagement.Client 命名空間