StorageOpenOptions StorageOpenOptions StorageOpenOptions StorageOpenOptions StorageOpenOptions Enum

Definition

Provides options to use when opening a file.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class StorageOpenOptions
enum class winrt::Windows::Storage::StorageOpenOptions : uint32_t
public enum StorageOpenOptions
Public Enum StorageOpenOptions
var value = Windows.Storage.StorageOpenOptions.allowOnlyReaders;
Attributes
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

AllowOnlyReaders AllowOnlyReaders AllowOnlyReaders AllowOnlyReaders AllowOnlyReaders 1

Only allow the file to be read.

AllowReadersAndWriters AllowReadersAndWriters AllowReadersAndWriters AllowReadersAndWriters AllowReadersAndWriters 2

Allows both readers and writers to coexist.

None None None None None 0

No options are specified.

Remarks

For more explanation on usage, see OpenAsync.