Partager via


WorkItemStore.Query Method (array<Int32[], array<Int32 , String)

Gets the set of fields that is referred to in wiql for the work items that are specified by an ID number, ids, and revision (revs).

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

Syntax

'Declaration
Public Function Query ( _
    ids As Integer(), _
    revs As Integer(), _
    wiql As String _
) As WorkItemCollection
public WorkItemCollection Query(
    int[] ids,
    int[] revs,
    string wiql
)
public:
WorkItemCollection^ Query(
    array<int>^ ids, 
    array<int>^ revs, 
    String^ wiql
)
member Query : 
        ids:int[] * 
        revs:int[] * 
        wiql:string -> WorkItemCollection
public function Query(
    ids : int[], 
    revs : int[], 
    wiql : String
) : WorkItemCollection

Parameters

  • ids
    Type: array<System.Int32[]

    A collection of work item IDs.

  • revs
    Type: array<System.Int32[]

    A collection of work item revision numbers.

Return Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemCollection
A collection of work items that result from the query.

.NET Framework Security

See Also

Reference

WorkItemStore Class

Query Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace