TFileSearcher.DirectoryAttribute property
File attribute needed for directories considered a match in the Search method.
Declaration
property DirectoryAttribute: Word read FDirectoryAttribute write FDirectoryAttribute default faDirectory;Description
DirectoryAttribute is a
Word property with the file
attribute needed for directories considered a match in the Search method. The
default value for the property is
faDirectory.
DirectoryAttribute is used in the Search method to determine
whether a file system entry in a given search path can be considered a match
based on its file attributes. The value is passed as an argument to
FindFirstUTF8 and FindNextUTF8. The value is compared
to the file attributes returned in a TSearchRec instance from
those routines.
Use FollowSymLink to include or exclude directories which are
symbolic links on the local file system.
Use FileAttribute to set the file attributes needed for files
considered a match in the Search method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
