ISharedStepHelper.Query 方法 (String, IDictionary)

进行查询以查找与提供的查询和参数匹配的共享测试步骤。

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

语法

声明
Function Query ( _
    queryText As String, _
    context As IDictionary _
) As IEnumerable(Of ISharedStep)
IEnumerable<ISharedStep> Query(
    string queryText,
    IDictionary context
)
IEnumerable<ISharedStep^>^ Query(
    String^ queryText, 
    IDictionary^ context
)
abstract Query : 
        queryText:string * 
        context:IDictionary -> IEnumerable<ISharedStep> 
function Query(
    queryText : String, 
    context : IDictionary
) : IEnumerable<ISharedStep>

参数

  • queryText
    类型:System.String
    将要执行的工作项查询语言 (WIQL)。

返回值

类型:System.Collections.Generic.IEnumerable<ISharedStep>
所请求的共享测试步骤的列表。

.NET Framework 安全性

请参见

参考

ISharedStepHelper 接口

Query 重载

Microsoft.TeamFoundation.TestManagement.Client 命名空间

ISharedStep

IDictionary