TFileItem class
Provides information about a file or directory on the local file system for use in file sort comparison routines.
Declaration
TFileItem = class(TObject)Inheritance
- TFileItem
- TObject
Description
TFileItem is a utility class used to represent a file or directory.
It contains BasePath with the path to the directory where the item is located
on the local file system, and FileInfo with the TSearchRec values for the item.
TFileItem is the type used to represent the items passed as arguments to a TFileItemCompareEvent handler routine. TFileItem instances are created and used in the implementation of file listing and sort routines as well.
See also
Properties
BasePath | public | Path to the directory where the file item is stored on the local file system. |
FileInfo | public | TSearchRec instance with information about the file or directory in the item. |
Methods
Create | public | Constructor for the class instance. |
FileName | public | Returns the fully-qualified path and file name for the file item. |
Fields
isFolder | public | True when the item represents a folder on the local file system. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
