Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a count of the test cases that match the given query and context.
Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
int Count(
    string queryText,
    IDictionary wiqlContext
)
int Count(
    String^ queryText,
    IDictionary^ wiqlContext
)
abstract Count : 
        queryText:string *
        wiqlContext:IDictionary -> int
Function Count (
    queryText As String,
    wiqlContext As IDictionary
) As Integer
Parameters
queryText
Type: System.StringThe Work Item Query Language (WIQL) query to execute.
wiqlContext
Type: System.Collections.IDictionaryA dictionary of named values for WIQL parameters.
Return Value
Type: System.Int32
The number of matching test cases.
See Also
Count Overload
ITestCaseHelper Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace
Return to top