[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FileUtil' (#lazutils)

TFileIterator.IsDirectory

True when the current file system entry is a directory.

Declaration

Source position: fileutil.pas line 113

public function TFileIterator.IsDirectory: Boolean;

Function result

True if the current file entry is a directory.

Description

IsDirectory is a Boolean function which indicates if the current file entry is a directory on the local file system. Checks the file attributes in FileInfo to determine if the faDirectory attribute is included for the file. Returns True when the attribute in included in the TSearchRec value.

See also

TFileIterator.FileInfo

  

Contains file information for the current entry in the iterator.

TSearchRec

faDirectory


Version 4.0 Generated 2025-05-03 Home