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

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

Description
The Matches property controls the maximum number of matches that can return the DiskScanner component. If you would like to set limit the number of search results - make Limited property True and specify the maximum number of search matches in the MaxMatches property. To return unlimited number of matches - set Limited property to False. Remember, that you can always terminate the scanning process calling the Stop method.  

See also
SearchAttributes, SearchSize, SearchTime properties.