IStorageItemAccessList interface

Applies to Windows and Windows Phone

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

Syntax


public interface IStorageItemAccessList

Attributes

[Version(0x06020000)]

Members

The IStorageItemAccessList interface has these types of members:

Methods

The IStorageItemAccessList interface has these methods. It also inherits methods from the Object class.

MethodDescription
Add(IStorageItem) Adds a new storage item to the access list.
Add(IStorageItem, String) Adds a new storage item and accompanying metadata to the access list.
AddOrReplace(String, IStorageItem) Adds a new storage item to the access list, or replaces the specified item if it already exists in the list.
AddOrReplace(String, IStorageItem, String) Adds a new storage item and accompanying metadata to the access list, or replaces the specified item if it already exists in the list.
CheckAccess Determines whether the app has access to the specified storage item in the access list.
Clear Removes all storage items from the access list.
ContainsItem Determines whether the access list contains the specified storage item.
GetFileAsync(String) Retrieves the specified StorageFile from the list.
GetFileAsync(String, AccessCacheOptions) Retrieves the specified StorageFile from the list using the specified options.
GetFolderAsync(String) Retrieves the specified StorageFolder from the list.
GetFolderAsync(String, AccessCacheOptions) Retrieves the specified StorageFolder from the list using the specified options.
GetItemAsync(String) Retrieves the specified item (like a file or folder) from the list.
GetItemAsync(String, AccessCacheOptions) Retrieves the specified item (like a file or folder) from the list using the specified options.
Remove Removes the specified storage item from the access list.

 

Properties

The IStorageItemAccessList interface has these properties.

PropertyAccess typeDescription

Entries

Read-onlyGets an object for retrieving storage items from the access list.

MaximumItemsAllowed

Read-onlyGets the maximum number of storage items that the access list can contain.

 

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