SearchResults.GetWarning

Syntax

SearchResults.GetWarning( index)

Return Value

String

Purpose

Returns the warning message you specify by index.

Remarks

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

Parameters

index As Long

[In] Specifies the zero-based index of the SearchMatch object you want the method to return.

See Also

Engine.SearchFiles

PropertyObject.Search

SearchResults.NumWarnings