public enum FileMode : System.Enum
Member | Description |
---|---|
Append | Opens an existing file, or creates a new one, and positions the file stream to the end of the file. |
Create | Create a new file. If the file already exists it will be overwritten. |
CreateNew | Create a new file. If the file already exists an exception is thrown. |
Open | Opens an existing file. If the file is not found an exception will be thrown. |
OpenOrCreate | Opens an existing file, or creates a new one. |
Truncate | Opens an existing file and sets it to a 0 length |
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+