ITestCaseHelper.Query 方法 (String, IDictionary)

 

进行查询以查找与提供的查询和参数匹配的测试用例。

命名空间:   Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

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)

参数

  • queryText
    将要执行的工作项查询语言 (WIQL)。
  • wiqlContext
    指定 WIQL 参数值的字典。

返回值

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

请求的测试用例的列表。

请参阅

ITestCase
Query 重载
ITestCaseHelper 接口
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首