Delen via


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: Int32

    The target index.

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestSuiteEntry
An ITestSuiteEntry object.

.NET Framework Security

See Also

Reference

ITestSuiteEntryCollection Interface

Insert Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCase