Specifies the mode used to access a file.
public enum class FileAccessMode
| Member | Value | Description |
|---|---|---|
| Read | 0 | The file stream is accessed in read-only mode. If the file is changed, subsequent read operations will fail. Multiple, independent read-only streams may be used to read a file. We recommend you keep read-only file streams open only while your app is actively reading from the file. You can close a stream by calling Close. |
| ReadWrite | 1 | The file stream is accessed in read/write mode. The file supports a single write stream and writing is non-transacted and in-place. You should use this mode only when you are ready to write immediately in order to avoid interrupting other operations. |
| ReadWriteNoCopyOnWrite | 3 | This value is unsupported and should not be used. |
| ReadWriteUnsafe | 2 | This value is unsupported and should not be used. |
Namespace: Windows.Storage
Metadata: windows.winmd