AccessCacheOptions enumeration

Applies to Windows and Windows Phone

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

Syntax


Public Enum AccessCacheOptions

Attributes

[Flags()]
[Version(0x06020000)]

Members

The AccessCacheOptions enumeration has these members.

MemberValueDescription
None | none0

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.

DisallowUserInput | disallowUserInput1

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

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.

UseReadOnlyCachedCopy | useReadOnlyCachedCopy4

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.

SuppressAccessTimeUpdate | suppressAccessTimeUpdate8

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.AccessCache
Windows::Storage::AccessCache [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft