This documentation is archived and is not being maintained.
WorkItemStore.Query Method (String, IDictionary)
Visual Studio 2013
Executes the query that is described in wiql and the parameters that are described in context.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
'Declaration Public Function Query ( _ wiql As String, _ context As IDictionary _ ) As WorkItemCollection
Parameters
- wiql
- Type: System.String
The work item query string.
- context
- Type: System.Collections.IDictionary
Parameters for the work item query.
Return Value
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemCollectionA collection of work items that result from the query.
| Exception | Condition |
|---|---|
| ArgumentNullException | The wiql parameter is null. |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: