Enum File.ModeFlags

enum ModeFlags : int { ... }

Enum members

NameDescription
read Opens the file for read operations.
readWrite Opens the file for read and write operations. Does not truncate the file.
write Opens the file for write operations. Create it if the file does not exist and truncate if it exists.
writeRead Opens the file for read and write operations. Create it if the file does not exist and truncate if it exists.