Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
workItemType
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeType: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemType.
A WorkItemType object that represents the type of work item to create.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCase
A new ITestCase object.
.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.