다음을 통해 공유


WorkItemStore.QueryCount Method (String, IDictionary)

Gets the number of items that would be returned if the query was executed.

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

Syntax

‘선언
Public Function QueryCount ( _
    wiql As String, _
    context As IDictionary _
) As Integer
public int QueryCount(
    string wiql,
    IDictionary context
)
public:
int QueryCount(
    String^ wiql, 
    IDictionary^ context
)
member QueryCount : 
        wiql:string * 
        context:IDictionary -> int 
public function QueryCount(
    wiql : String, 
    context : IDictionary
) : int

Parameters

Return Value

Type: System.Int32
The number of items that is returned by the query.

Exceptions

Exception Condition
ArgumentNullException

The wiql is null.

.NET Framework Security

See Also

Reference

WorkItemStore Class

QueryCount Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace