Share via


ITestSuiteEntryCollection.BulkCopy Method

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

'Declaration
Sub BulkCopy ( _
    destination As ITestSuiteEntryCollection, _
    index As Integer, _
    entries As IEnumerable(Of ITestSuiteEntry), _
    ignoreDuplicates As Boolean _
)
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
function BulkCopy(
    destination : ITestSuiteEntryCollection, 
    index : int, 
    entries : IEnumerable<ITestSuiteEntry>, 
    ignoreDuplicates : boolean
)

Parameters

  • index
    Type: Int32

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

  • ignoreDuplicates
    Type: 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.

.NET Framework Security

See Also

Reference

ITestSuiteEntryCollection Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestSuiteEntry