System.IOUtils.TFileAttribute

From XE2 API Documentation
Jump to: navigation, search

Delphi

type TFileAttribute = (faReadOnly, faHidden, faSystem, faDirectory, faArchive, faDevice, faNormal, faTemporary, faSparseFile, faReparsePoint, faCompressed, faOffline, faNotContentIndexed, faEncrypted, faSymLink)

C++

enum class TFileAttribute : unsigned char { faReadOnly, faHidden, faSystem, faDirectory, faArchive, faDevice, faNormal, faTemporary, faSparseFile, faReparsePoint, faCompressed, faOffline, faNotContentIndexed, faEncrypted, faSymLink };

Properties

Type Visibility Source Unit Parent
enum public
System.IOUtils.pas
System.IOUtils.hpp
System.IOUtils System.IOUtils

Description

Enumerates the possible file and directory attributes.

TFileAttribute enumerates the possible file and directory attributes. The TFileAttribute enumeration is used in file operation routines, which modify, read, or remove attributes from a file or directory.

The possible values of TFileAttribute are:

Value Meaning

faReadOnly

Identifies read-only files or directories.

faHidden

Identifies hidden files or directories.

faSystem or faSysFile

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.

Note: A symbolic link represents a reference to another file or directory in the form of an absolute or relative path.

See Also

Code Examples