ITestSuiteEntryCollection.Add Method (ITestCase)
Adds a test case to the collection.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function Add ( _
testCase As ITestCase _
) As ITestSuiteEntry
ITestSuiteEntry Add(
ITestCase testCase
)
ITestSuiteEntry^ Add(
ITestCase^ testCase
)
abstract Add :
testCase:ITestCase -> ITestSuiteEntry
function Add(
testCase : ITestCase
) : ITestSuiteEntry
Parameters
testCase
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseThe ITestCase object to add.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestSuiteEntry
The added test suite entry.
.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