Delen via


IStorageItemAccessList Interface

Definition

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

public interface class IStorageItemAccessList
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(749729453, 56976, 18421, 178, 195, 221, 54, 201, 253, 212, 83)]
struct IStorageItemAccessList
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(749729453, 56976, 18421, 178, 195, 221, 54, 201, 253, 212, 83)]
public interface IStorageItemAccessList
Public Interface IStorageItemAccessList
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Entries

Gets an object for retrieving storage items from the access list.

MaximumItemsAllowed

Gets the maximum number of storage items that the access list can contain.

Methods

Add(IStorageItem, String)

Adds a new storage item and accompanying metadata to the access list.

Add(IStorageItem)

Adds a new storage item to the access 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.

AddOrReplace(String, IStorageItem)

Adds a new storage item to the access list, or replaces the specified item if it already exists in the list.

CheckAccess(IStorageItem)

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(String)

Determines whether the access list contains the specified storage item.

GetFileAsync(String, AccessCacheOptions)

Retrieves the specified StorageFile from the list using the specified options.

GetFileAsync(String)

Retrieves the specified StorageFile from the list.

GetFolderAsync(String, AccessCacheOptions)

Retrieves the specified StorageFolder from the list using the specified options.

GetFolderAsync(String)

Retrieves the specified StorageFolder from the list.

GetItemAsync(String, AccessCacheOptions)

Retrieves the specified item (like a file or folder) from the list using the specified options.

GetItemAsync(String)

Retrieves the specified item (like a file or folder) from the list.

Remove(String)

Removes the specified storage item from the access list.

Applies to