共用方式為


TestActionCollection.MoveTo 方法

將測試動作從某個集合移動至不同的集合。

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

語法

'宣告
Public Sub MoveTo ( _
    fromIndex As Integer, _
    toIndex As Integer, _
    newCollection As TestActionCollection _
)
public void MoveTo(
    int fromIndex,
    int toIndex,
    TestActionCollection newCollection
)
public:
void MoveTo(
    int fromIndex, 
    int toIndex, 
    TestActionCollection^ newCollection
)
member MoveTo : 
        fromIndex:int * 
        toIndex:int * 
        newCollection:TestActionCollection -> unit 
public function MoveTo(
    fromIndex : int, 
    toIndex : int, 
    newCollection : TestActionCollection
)

參數

  • fromIndex
    型別:System.Int32
    要移動之測試動作在這個集合中的索引。
  • toIndex
    型別:System.Int32
    所移動之測試動作在新集合中的索引。

.NET Framework 安全性

請參閱

參考

TestActionCollection 類別

Microsoft.TeamFoundation.TestManagement.Client 命名空間

TestActionCollection