ITestSuiteEntryCollection.Insert Method (Int32, ITestCase)
Inserts the provided test case into the collection at the specified index.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function Insert ( _
index As Integer, _
testCase As ITestCase _
) As ITestSuiteEntry
ITestSuiteEntry Insert(
int index,
ITestCase testCase
)
ITestSuiteEntry^ Insert(
int index,
ITestCase^ testCase
)
abstract Insert :
index:int *
testCase:ITestCase -> ITestSuiteEntry
function Insert(
index : int,
testCase : ITestCase
) : ITestSuiteEntry
Parameters
index
Type: Int32The target index.
testCase
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseThe ITestCase object to insert.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestSuiteEntry
An ITestSuiteEntry 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.
See Also
Reference
ITestSuiteEntryCollection Interface