SearchResults.NumMatches

Syntax

SearchResults.NumMatches

Data Type

Long

Purpose

Returns the number of matches found up to a certain point. If the search is not yet complete, this number can continue to increase as TestStand finds new matches.

Remarks

You can access the SearchMatch objects even as they accumulate asynchronously by using this property to obtain the number of matches and then accessing only the SearchMatch objects up to that number using the SearchResults.GetMatch method. TestStand always appends new SearchMatch objects to the end of the result list.

See Also

Engine.SearchFiles

PropertyObject.Search

SearchMatch

SearchResults.GetMatch