Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

void BulkCopy(
	ITestSuiteEntryCollection^ destination,
	int index,
	IEnumerable<ITestSuiteEntry^>^ entries,
	bool ignoreDuplicates
)

Parameters

destination
Type: Microsoft.TeamFoundation.TestManagement.Client::ITestSuiteEntryCollection^

The target ITestSuiteEntryCollection.

index
Type: System::Int32

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

entries
Type: System.Collections.Generic::IEnumerable<ITestSuiteEntry^>^

The list of ITestSuiteEntry objects.

ignoreDuplicates
Type: System::Boolean

true to ignore duplicate entries.

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

Return to top
Show: