TFileSearcher.FileAttribute property
File attribute needed for any file considered a match in the Search method.
Declaration
property FileAttribute: Word read FFileAttribute write FFileAttribute default faAnyfile;Description
FileAttribute is a
Word property. The default value for
the property is
faAnyfile, and means that any of the file
attribute constants are allowed for files.
FileAttribute is used in the Search method to determine whether a
file 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 DirectoryAttribute to specify the file attributes needed for
directories processed in the Search method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
