Share via


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

'Declaration
Function Query ( _
    queryText As String, _
    wiqlContext As IDictionary _
) As IEnumerable(Of ITestCase)
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 : String, 
    wiqlContext : IDictionary
) : IEnumerable<ITestCase>

Parameters

  • queryText
    Type: String

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

  • wiqlContext
    Type: IDictionary

    A dictionary of named values for WIQL parameters.

Return Value

Type: IEnumerable<ITestCase>
The list of requested test cases.

.NET Framework Security

See Also

Reference

ITestCaseHelper Interface

Query Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestCase