ITestObjectCollection<TObjectInterface>.Move 方法
此 API 支持 .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
类型:System.Int32
要移动的项的索引。
- toIndex
类型:System.Int32
目标位置的索引。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。