This documentation is archived and is not being maintained.

Query Constructor (WorkItemStore, String, IDictionary, Boolean)

Initializes a new instance of the Query class.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

public:
Query(
	WorkItemStore^ store, 
	String^ wiql, 
	IDictionary^ context, 
	bool dayPrecision
)

Parameters

store
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::WorkItemStore

The WorkItemStore to query.

wiql
Type: System::String

The query string to execute.

context
Type: System.Collections::IDictionary

A dictionary of macros and values.

dayPrecision
Type: System::Boolean

True to ignore time values so that DateTime objects are treated as dates; otherwise, false.

ExceptionCondition
ArgumentNullException

At least one parameter is null.

Show: