System.IOUtils.TFileAccess
Delphi
TFileAccess = (faRead, faWrite, faReadWrite);
C++
enum class DECLSPEC_DENUM TFileAccess : unsigned char { faRead, faWrite, faReadWrite };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | System.IOUtils |
Description
Enumerates the possible file access modes.
TFileAccess enumerates the possible file access modes. Each mode requires the user to have the requested privileges over the file being opened. The following are possible values of TFileAccess.
Value | Meaning |
---|---|
faRead |
The file is opened in read-only mode. |
faWrite |
The file is created, truncated, or opened in write-only mode. |
faReadWrite |
The file is created, truncated, or opened in read-write mode. |