This documentation is archived and is not being maintained.

WorkItemStore.Query Method (String, IDictionary)

Executes a specified query and returns a collection of WorkItem objects.

Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in microsoft.teamfoundation.workitemtracking.client.dll)

public WorkItemCollection Query (
	string wiql,
	IDictionary context
public WorkItemCollection Query (
	String wiql, 
	IDictionary context
public function Query (
	wiql : String, 
	context : IDictionary
) : WorkItemCollection



A query represented as a Work Item Query Language (WIQL) string.


The WIQL named parameters.

Return Value

Returns a WorkItemCollection of WorkItem objects that are the result of the query.