TestActionCollection.MoveTo Method
Moves a test action from a collection to a different collection.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
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
)
Parameters
- fromIndex
Type: System.Int32
The index in this collection of the test action to be moved.
- toIndex
Type: System.Int32
The index in the new collection for the moved test action.
- newCollection
Type: Microsoft.TeamFoundation.TestManagement.Client.TestActionCollection
The target TestActionCollection object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.