Enum OpenMode
- Namespace
- SharpPluginLoader.Core.IO
- Assembly
- SharpPluginLoader.Core.dll
Specifies how to open a file.
public enum OpenMode
Fields
None = 0Do not open the file.
Read = 2Open the file for reading. If the file does not exist, an exception will be thrown.
Read2 = 7Open the file for reading. If the file does not exist, an exception will be thrown.
ReadWrite = 5Open the file for reading and writing. If the file exists, it will be truncated. If it does not exist, it will be created.
ReadWriteAppend = 6Open the file for reading and writing. If the file exists, it will be appended to. If it does not exist, it will be created.
Write = 3Open the file for writing. If the file exists, it will be truncated. If it does not exist, it will be created.
WriteAppend = 4Open the file for writing. If the file exists, it will be appended to. If it does not exist, it will be created.