FileOpenMode Enumeration

Description

Defines how to open a file. The file mode is a required parameter for the FileOpen function.

Inheritance Hierarchy

Syntax

Public Enum FileOpenMode

Members

Name Description
Read Opens the file for reading.
Write Opens the file for writing. If the file does not exist, it is created. If the file exists, it is truncated to zero (0) bytes.
ReadWrite Opens the file for reading and writing.
Update Opens the file for writing, but does not truncate the file. Denies write access to other users by default. The file pointer is positioned at the beginning of the file.