multidiskscanner TDiskScannerPath class
Return to Introduction  Previous page  Next page
Unit
dcDiskScanner. Used in dcMultiDiskScanner component.  

Declaration
type  
  TDiskScannerPath = class  
  published  
    property PathMask: String;  
    property IncludeSubfolders: Boolean;  
  end;  

Description
The TDiskScannerPath class is an individual item of TDiskScanList class. The TDiskScanPath is the item that describes one searching rule for IncludeList and ExcludeList properties.  
 
The TDiskScannerPath items contains the information about the path and searching mask (PathMask property) to include or exclude from search results and whether would you like to include all subfolders (IncludeSubfolders property) located under specified path.  
 
The PathMask is the string that specifies a valid directory or path and filename, which can contain wildcard characters (* and ?). IncludeSubfolders - boolean flag, whether to scan subdirectories under specified path.  
 
tip You can change the searching rules (Include / Exclude list items) either at design and run-time (See example).  

See also
TDiskScannerPath class and dcMultiDiskScanner component.  
File not found.