AccessCacheOptions AccessCacheOptions AccessCacheOptions AccessCacheOptions Enum

Definition

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

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

public : enum class AccessCacheOptionspublic enum AccessCacheOptionsPublic Enum AccessCacheOptions// You can use this enum in JavaScript.
Attributes
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

DisallowUserInput DisallowUserInput DisallowUserInput DisallowUserInput

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

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

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

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

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.