共用方式為


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

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestSuiteEntry
The added test suite entry.

.NET Framework Security

See Also

Reference

ITestSuiteEntryCollection Interface

Add Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCase