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 命名空间