Sign in Join
FPDoc Onlineexperiment

TListDirectoriesSearcher class

In unit FileUtil

Stores directory names matching a given search criteria in a TStrings class instance.

Declaration

pascal
TListDirectoriesSearcher = class(TFileSearcher)

Inheritance

  1. TListDirectoriesSearcher
  2. TFileSearcher
  3. TFileIterator

Description

TListDirectoriesSearcher is a TFileSearcher descendant used to store directory names matching the specified search criteria in a TStrings class instance. It extends the ancestor class by implementing an internal member used to store the TStrings class instance.

Use the PathSeparator property to specify the separator used between path names passed as an argument to the Search method.

TListDirectoriesSearcher is used to implement the FindAllDirectories routine.

See also

Methods

DoDirectoryFoundprotectedPerforms actions needed to add a directory path to the list of matches for the searcher.
CreatepublicConstructor for the class instance.

Inherited

From TFileSearcher (16)

CircularLinkdetection DirectoryAttribute DoDirectoryEnter DoFileFound DoQueryDirectoryEnter DoQueryFileFound FileAttribute FollowSymLink MaskSeparator OnDirectoryEnter OnDirectoryFound OnFileFound OnQueryDirectoryEnter OnQueryFileFound PathSeparator Search

From TFileIterator (7)

FileInfo FileName IsDirectory Level Path Searching Stop

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.