IStorageItemAccessList interface

This topic has not yet been rated - Rate this topic

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

Syntax


public interface IStorageItemAccessList

Attributes

GuidAttribute("2caff6ad-de90-47f5-b2c3-dd36c9fdd453")
VersionAttribute(NTDDI_WIN8)

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

Namespace

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

Metadata

Windows.winmd

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.