SearchResults.Cancel

Syntax

SearchResults.Cancel( waitForComplete, processWindowsMsgsWhileWaiting)

Purpose

Cancels a search in progress. Calling this method after the search completes does nothing.

Parameters

waitForComplete As Boolean

[In] Pass True if you want the method to wait until the search finishes canceling before returning. Otherwise, the cancel operation is asynchronous.

processWindowsMsgsWhileWaiting As Boolean

[In] Pass True if you want TestStand to process window messages while waiting for the search to complete. TestStand ignores this parameter if you do not pass True for the waitForComplete parameter.

See Also

Engine.SearchFiles

PropertyObject.Search