ITestCaseHelper.Query Method (String, IDictionary)

 

Queries for test cases that match the provided query and parameters.

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

Syntax

IEnumerable<ITestCase> Query(
    string queryText,
    IDictionary wiqlContext
)
IEnumerable<ITestCase^>^ Query(
    String^ queryText,
    IDictionary^ wiqlContext
)
abstract Query : 
        queryText:string *
        wiqlContext:IDictionary -> IEnumerable<ITestCase>
Function Query (
    queryText As String,
    wiqlContext As IDictionary
) As IEnumerable(Of ITestCase)

Parameters

  • queryText
    Type: System.String

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

Return Value

Type: System.Collections.Generic.IEnumerable<ITestCase>

The list of requested test cases.

See Also

ITestCase
Query Overload
ITestCaseHelper Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top