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
destination
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestSuiteEntryCollectionThe target ITestSuiteEntryCollection.
index
Type: System.Int32The 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.Booleantrue 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