Partager via


ITestSuiteEntryCollection.InsertCases Method (Int32, IEnumerable<ITestCase>, Boolean)

Inserts the provided list of test cases into the collection at the specified index, and optionally ignores duplicate entries.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Sub InsertCases ( _
    index As Integer, _
    cases As IEnumerable(Of ITestCase), _
    ignoreDuplicates As Boolean _
)
void InsertCases(
    int index,
    IEnumerable<ITestCase> cases,
    bool ignoreDuplicates
)
void InsertCases(
    int index, 
    IEnumerable<ITestCase^>^ cases, 
    bool ignoreDuplicates
)
abstract InsertCases : 
        index:int * 
        cases:IEnumerable<ITestCase> * 
        ignoreDuplicates:bool -> unit
function InsertCases(
    index : int, 
    cases : IEnumerable<ITestCase>, 
    ignoreDuplicates : boolean
)

Parameters

  • index
    Type: Int32

    The target index.

  • cases
    Type: IEnumerable<ITestCase>

    The list of ITestCase objects to insert into the collection.

  • ignoreDuplicates
    Type: Boolean

    true to ignore duplicate entries.

.NET Framework Security

See Also

Reference

ITestSuiteEntryCollection Interface

InsertCases Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCase