共用方式為


ITestManagementTeamProject.CreateTestQuery Method (array<Int32[], array<Int32 , String)

Creates a new test case query based on a non-empty list of ids, a list of revisions and a hint on which fields of the test cases to be retrieved. The query hint is a WIQL query with no clauses. It is used to specified the selected fields. For example: SELECT [System.Title], [System.AreaPath] FROM WorkItems

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

Syntax

'Declaration
Function CreateTestQuery ( _
    ids As Integer(), _
    revs As Integer(), _
    queryHint As String _
) As ITestCaseQuery
ITestCaseQuery CreateTestQuery(
    int[] ids,
    int[] revs,
    string queryHint
)
ITestCaseQuery^ CreateTestQuery(
    array<int>^ ids, 
    array<int>^ revs, 
    String^ queryHint
)
abstract CreateTestQuery : 
        ids:int[] * 
        revs:int[] * 
        queryHint:string -> ITestCaseQuery
function CreateTestQuery(
    ids : int[], 
    revs : int[], 
    queryHint : String
) : ITestCaseQuery

Parameters

  • ids
    Type: array<Int32[]
  • revs
    Type: array<Int32[]
  • queryHint
    Type: String

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseQuery

.NET Framework Security

See Also

Reference

ITestManagementTeamProject Interface

CreateTestQuery Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace