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 shared test steps that match the given query and context.
Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Function Count ( _
    queryText As String, _
    wiqlContext As IDictionary _
) As Integer
int Count(
    string queryText,
    IDictionary wiqlContext
)
int Count(
    String^ queryText, 
    IDictionary^ wiqlContext
)
abstract Count : 
        queryText:string * 
        wiqlContext:IDictionary -> int
function Count(
    queryText : String, 
    wiqlContext : IDictionary
) : int
Parameters
- queryText 
 Type: String- The Work Item Query Language (WIQL) query to execute. 
- wiqlContext 
 Type: IDictionary- A dictionary of named values for WIQL parameters. 
Return Value
Type: Int32
The number of matching shared test steps.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.