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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。