ITestSuiteEntryCollection.InsertCases Method (Int32, IEnumerable<ITestCase>, Boolean)
Inserts the provided list of test cases into the collection at the specified index, and optionally ignores duplicate entries.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Sub InsertCases ( _
index As Integer, _
cases As IEnumerable(Of ITestCase), _
ignoreDuplicates As Boolean _
)
void InsertCases(
int index,
IEnumerable<ITestCase> cases,
bool ignoreDuplicates
)
void InsertCases(
int index,
IEnumerable<ITestCase^>^ cases,
bool ignoreDuplicates
)
abstract InsertCases :
index:int *
cases:IEnumerable<ITestCase> *
ignoreDuplicates:bool -> unit
function InsertCases(
index : int,
cases : IEnumerable<ITestCase>,
ignoreDuplicates : boolean
)
Parameters
- index
Type: System.Int32
The target index.
- cases
Type: System.Collections.Generic.IEnumerable<ITestCase>
The list of ITestCase objects to insert into the collection.
- ignoreDuplicates
Type: System.Boolean
true to ignore duplicate entries.
.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