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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。