共用方式為


ITestCaseHelper.Count Method (String, IDictionary)

 

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.String

    The Work Item Query Language (WIQL) query to execute.

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