FileMode

Specifies the File access mode used when opening the file.

Values

ValueMeaning
In1

Opens the file for reading.

Out2

Opens the file for writing.

OutNew6

Opens the file for writing, creates a new file if it doesn't exist.

Append10

Opens the file for writing, appending new data to the end of the file.

Meta