共用方式為


ITestCaseResultHelper.Query Method

Queries for test case results that match the provided query.

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

Syntax

'Declaration
Function Query ( _
    queryText As String _
) As ITestCaseResultCollection
ITestCaseResultCollection Query(
    string queryText
)
ITestCaseResultCollection^ Query(
    String^ queryText
)
abstract Query : 
        queryText:string -> ITestCaseResultCollection
function Query(
    queryText : String
) : ITestCaseResultCollection

Parameters

  • queryText
    Type: String

    The Work Item Query Language (WIQL) that will be executed.

Return Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResultCollection
The list of matching test case results.

.NET Framework Security

See Also

Reference

ITestCaseResultHelper Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCaseResult