DocumentService.CreateQuery 方法 (TfsTeamProjectCollection, String, Boolean, String, Object)

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

语法

声明
Public Function CreateQuery ( _
    teamProjectCollection As TfsTeamProjectCollection, _
    teamProjectName As String, _
    publicQuery As Boolean, _
    queryText As String, _
    lockToken As Object _
) As IQueryDocument
public IQueryDocument CreateQuery(
    TfsTeamProjectCollection teamProjectCollection,
    string teamProjectName,
    bool publicQuery,
    string queryText,
    Object lockToken
)

参数

返回值

类型:Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.IQueryDocument
返回 IQueryDocument

.NET Framework 安全性

请参阅

参考

DocumentService 类

CreateQuery 重载

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking 命名空间