AccessCacheOptions Enum

Definition

Describes the behavior to use when the app accesses an item in a list.

This enumeration supports a bitwise combination of its member values.

public enum class AccessCacheOptions
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AccessCacheOptions
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AccessCacheOptions
var value = Windows.Storage.AccessCache.AccessCacheOptions.none
Public Enum AccessCacheOptions
Inheritance
AccessCacheOptions
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

DisallowUserInput 1

When the app accesses the item, the user is prevented from entering information.

For example, if the app accesses a file that is stored using this option and the file normally triggers a request for the user to enter credentials, the request is suppressed.

FastLocationsOnly 2

When the app accesses the item, it is retrieved from a fast location like the local file system.

For example, if the app accesses a file that is stored using this option and a version of the file is only available remotely, the file will not be accessed.

None 0

Default.

When the app accesses the item, the app retrieves the most current version of the item from any available location and, if necessary, the user can enter additional information.

SuppressAccessTimeUpdate 8

When the app accesses the item in the StorageItemMostRecentlyUsedList, Windows preserves the item's current position in the most recently used (MRU) and does not update the access time of the item.

UseReadOnlyCachedCopy 4

When the app accesses the item, the app retrieves a cached, read-only version of the file. This version of the file might not be the most recent.

Applies to