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
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

Only allow the file to be read.

AllowReadersAndWriters AllowReadersAndWriters AllowReadersAndWriters AllowReadersAndWriters

Allows both readers and writers to coexist.

None None None None

No options are specified.

Remarks

For more explanation on usage, see OpenAsync.