diskscanner Matches property
Return to Introduction  Previous page  Next page
Applies to
dcDiskScanner and dcMultiDiskScanner components.  

  TDiskScannerMatches = class  
    property Limited: Boolean; // False by default (unlimited)  
    property MaxMatches: LongInt;  

The Matches property controls the maximum number of matches that returned by dcDiskScanner component in the OnFileFound event. If you would like to limit the number of search results - make Limited property True, and specify the maximum number of search matches in the MaxMatches property. To cancel the limitation - set Limited property to False.  
tip Remember, that you can always terminate the scanning process calling the Stop method.  

See also
SearchAttributes, SearchSize, SearchTime properties.