共用方式為


ITestCaseHelper.Create Method (WorkItemType)

Creates a new test case object that will be created on the server only when the Save method of the test case is called.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Function Create ( _
    workItemType As WorkItemType _
) As ITestCase
ITestCase Create(
    WorkItemType workItemType
)
ITestCase^ Create(
    WorkItemType^ workItemType
)
abstract Create : 
        workItemType:WorkItemType -> ITestCase
function Create(
    workItemType : WorkItemType
) : ITestCase

Parameters

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCase
A new ITestCase object.

.NET Framework Security

See Also

Reference

ITestCaseHelper Interface

Create Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestBase

ITestCase