System.IOUtils.TSearchOption
Delphi
TSearchOption = (soTopDirectoryOnly, soAllDirectories);
C++
enum class DECLSPEC_DENUM TSearchOption : unsigned char { soTopDirectoryOnly, soAllDirectories };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | System.IOUtils |
Description
Describes the possible ways to traverse a directory structure.
TSearchOption enumerates the possible options used when traversing a directory structure. TSearchOption is used in some TDirectory methods to specify whether the traversal routines should consider only the top-level directory or recursively consider all the other directories. The following are possible values of TSearchOption.
Value | Meaning |
---|---|
soTopDirectoryOnly |
Only the top-level files or directories are enumerated. |
soAllDirectories |
All directories or files are recursively enumerated, starting with the top-level ones. |
See Also
Code Examples