Table of Contents

Enum OpenMode

Namespace
SharpPluginLoader.Core.IO
Assembly
SharpPluginLoader.Core.dll

Specifies how to open a file.

public enum OpenMode

Fields

None = 0

Do not open the file.

Read = 2

Open the file for reading. If the file does not exist, an exception will be thrown.

Read2 = 7

Open the file for reading. If the file does not exist, an exception will be thrown.

ReadWrite = 5

Open the file for reading and writing. If the file exists, it will be truncated. If it does not exist, it will be created.

ReadWriteAppend = 6

Open 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 = 3

Open the file for writing. If the file exists, it will be truncated. If it does not exist, it will be created.

WriteAppend = 4

Open the file for writing. If the file exists, it will be appended to. If it does not exist, it will be created.