Windows.Storage.AccessCache
TOC
Collapse the table of content
Expand the table of content

Windows.Storage.AccessCache namespace

Enables and manages access to the most recently used (MRU) list of storage items, and to the list of storage items that the application has saved for efficient future access.

Members

The Windows.Storage.AccessCache namespace has these types of members:

Classes

ClassDescription
AccessListEntryView A list of the entries that are in your app's most recently used list (MRU) (obtained from the static StorageApplicationPermissions.MostRecentlyUsedList property) and in your app's future-access list (obtained from the static StorageApplicationPermissions.FutureAccessList property).
ItemRemovedEventArgs Provides data about an ItemRemoved event.
StorageApplicationPermissions Provides static properties for you to get your app's most recently used list (MRU) (use StorageApplicationPermissions.MostRecentlyUsedList) and future-access list (use StorageApplicationPermissions.FutureAccessList.
StorageItemAccessList Represents your app's future-access list (obtained from the static StorageApplicationPermissions.FutureAccessList property). By picking files and folders, your user grants your app permission to access items that might not be accessible otherwise. If you add these items to your future-access list then you'll retain that permission when your app wants to access those items again later.
StorageItemMostRecentlyUsedList Represents your app's most recently used list (MRU) (obtained from the static StorageApplicationPermissions.MostRecentlyUsedList property). You use your MRU to track items (files and/or folders) that the user has accessed most recently.

 

Enumerations

The Windows.Storage.AccessCache namespace has these enumerations.

EnumerationDescription
AccessCacheOptions Describes the behavior to use when the app accesses an item in a list.
RecentStorageItemVisibility Describes the extent of the visibility of a storage item added to the most recently used (MRU) list.

 

Interfaces

The Windows.Storage.AccessCache namespace defines these interfaces.

InterfaceDescription
IStorageItemAccessList Represents a list of storage items that the app has stored for efficient future access.

 

Structures

The Windows.Storage.AccessCache namespace has these structures.

StructureDescription
AccessListEntry Represents a list entry that contains the identifier and metadata for a StorageFile or StorageFolder object in a list.

 

See also

File access sample (Windows 10)

 

 

Show:
© 2016 Microsoft