Share via


ITestSuiteEntryCollection.AddCases Method (IEnumerable<ITestCase>, Boolean)

Adds a list of test cases and optionally ignores duplicate entries.

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

Syntax

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

Parameters

  • cases
    Type: IEnumerable<ITestCase>

    A list of ITestCase objects to add to the collection.

  • ignoreDuplicates
    Type: Boolean

    true to ignore duplicates.

.NET Framework Security

See Also

Reference

ITestSuiteEntryCollection Interface

AddCases Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCase