Share via


ITestSuiteEntryCollection.BulkCopy Method (ITestSuiteEntryCollection, Int32, IEnumerable<ITestSuiteEntry>, Boolean)

 

Copies a list of test entries to the provided test suite entry collection and optionally ignores duplicate entries.

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

Syntax

void BulkCopy(
    ITestSuiteEntryCollection destination,
    int index,
    IEnumerable<ITestSuiteEntry> entries,
    bool ignoreDuplicates
)
void BulkCopy(
    ITestSuiteEntryCollection^ destination,
    int index,
    IEnumerable<ITestSuiteEntry^>^ entries,
    bool ignoreDuplicates
)
abstract BulkCopy : 
        destination:ITestSuiteEntryCollection *
        index:int *
        entries:IEnumerable<ITestSuiteEntry> *
        ignoreDuplicates:bool -> unit
Sub BulkCopy (
    destination As ITestSuiteEntryCollection,
    index As Integer,
    entries As IEnumerable(Of ITestSuiteEntry),
    ignoreDuplicates As Boolean
)

Parameters

  • index
    Type: System.Int32

    The index in the target collection that indicates where to insert the entries.

  • ignoreDuplicates
    Type: System.Boolean

    true to ignore duplicate entries.

Remarks

The bulk copy fails if it generates duplicate entries in the target collection or if any of the entries are test suites.

See Also

ITestSuiteEntry
ITestSuiteEntryCollection Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top