When you call file access-related functions, you can use enumeration members in your code in place of the actual values.
The OpenMode enumeration defines constants used to set file access modes. The following table lists the OpenMode enumeration members.
Member | Description |
---|---|
OpenMode.Append | Append mode |
OpenMode.Binary | Binary mode |
OpenMode.Input | Input mode |
OpenMode.Output | Output mode |
OpenMode.Random | Random mode |