Enum FileMode

Specifies how a file is manipulated on disk.

The enum base type is int .

Enum members

Name Description
Read The file is opened read-only.
ReadWrite The file is opened for read-write random access.
CreateTrunc The file is truncated if it exists and created otherwise and the opened for read-write access.
Append The file is opened for appending data to it and created if it does not exist.

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.