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
- 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ITestSuiteEntryCollection Interface