System.IOUtils.TFileAttributes
Delphi
type TFileAttributes = set of TFileAttribute;
C++
typedef System::Set<TFileAttribute, _DELPHI_SET_ENUMERATOR(TFileAttribute::faReadOnly), _DELPHI_SET_ENUMERATOR(TFileAttribute::faSymLink)> TFileAttributes;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
set typedef |
public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | System.IOUtils |
Description
Represents a set of file or directory attributes.
TFileAttributes is a set of file or directory attributes. The TFileAttributes enumeration is used in file operation routines, which modify, read, or remove attributes from a file or directory. The following are possible values of TFileAttribute:
| Value | Meaning |
|---|---|
|
faReadOnly |
Identifies read-only files or directories. |
|
faHidden |
Identifies hidden files or directories. |
|
faSystem |
Identifies system files or directories. |
|
faDirectory |
Identifies a directory. |
|
faArchive |
Identifies Windows archived files. |
|
faDevice |
Identifies Windows device files. |
|
faNormal |
Identifies normal files. |
|
faTemporary |
Identifies temporary files or directories. |
|
faSparseFile |
Identifies a sparse file. A sparse file is a large file filled mostly with zeros. |
|
faReparsePoint |
Identifies a reparse point. A reparse point is a block of user-defined data linked to a real file or directory. |
|
faCompressed |
Identifies a compressed file or directory. |
|
faOffline |
Identifies an offline file whose contents are unavailable. |
|
faNotContentIndexed |
Identifies a file that is skipped from the indexing operations. |
|
faEncrypted |
Identifies an encrypted file or directory. |
|
faSymLink |
Identifies a symbolic link. |
See Also