共用方式為


TestActionCollection.MoveItem 方法

這個成員會覆寫 ObservableCollection<T>.MoveItem(Int32, Int32),您可以在主題中找到更完整的文件。這個成員會覆寫 ObservableCollection<T>.MoveItem(Int32, Int32)

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

語法

'宣告
Protected Overrides Sub MoveItem ( _
    oldIndex As Integer, _
    newIndex As Integer _
)
protected override void MoveItem(
    int oldIndex,
    int newIndex
)
protected:
virtual void MoveItem(
    int oldIndex, 
    int newIndex
) override
abstract MoveItem : 
        oldIndex:int * 
        newIndex:int -> unit 
override MoveItem : 
        oldIndex:int * 
        newIndex:int -> unit 
protected override function MoveItem(
    oldIndex : int, 
    newIndex : int
)

參數

  • oldIndex
    型別:System.Int32

    以零起始的索引,指定要移動之項目的位置。

  • newIndex
    型別:System.Int32

    以零起始的索引,指定項目的新位置。

.NET Framework 安全性

請參閱

參考

TestActionCollection 類別

Microsoft.TeamFoundation.TestManagement.Client 命名空間