StorageItemMostRecentlyUsedList.GetFileAsync StorageItemMostRecentlyUsedList.GetFileAsync StorageItemMostRecentlyUsedList.GetFileAsync StorageItemMostRecentlyUsedList.GetFileAsync StorageItemMostRecentlyUsedList.GetFileAsync Method

Definition

Overloads

GetFileAsync(String) GetFileAsync(String) GetFileAsync(String) GetFileAsync(String) GetFileAsync(String)

Retrieves the specified storageFile from the most recently used (MRU) list.

GetFileAsync(String, AccessCacheOptions) GetFileAsync(String, AccessCacheOptions) GetFileAsync(String, AccessCacheOptions) GetFileAsync(String, AccessCacheOptions) GetFileAsync(String, AccessCacheOptions)

Retrieves the specified storageFile from the most recently used (MRU) list using the specified options.

GetFileAsync(String) GetFileAsync(String) GetFileAsync(String) GetFileAsync(String) GetFileAsync(String)

Retrieves the specified storageFile from the most recently used (MRU) list.

public : IAsyncOperation<StorageFile> GetFileAsync(Platform::String token)
IAsyncOperation<StorageFile> GetFileAsync(winrt::hstring token) const;
public IAsyncOperation<StorageFile> GetFileAsync(String token)
Public Function GetFileAsync(token As String) As IAsyncOperation(Of StorageFile)
Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList.getFileAsync(token).done( /* Your success and error handlers */ );
Parameters
token
String String String

The token of the storageFile to retrieve.

Returns

When this method completes successfully, it returns the storageFile that is associated with the specified token.

See Also

GetFileAsync(String, AccessCacheOptions) GetFileAsync(String, AccessCacheOptions) GetFileAsync(String, AccessCacheOptions) GetFileAsync(String, AccessCacheOptions) GetFileAsync(String, AccessCacheOptions)

Retrieves the specified storageFile from the most recently used (MRU) list using the specified options.

public : IAsyncOperation<StorageFile> GetFileAsync(Platform::String token, AccessCacheOptions options)
IAsyncOperation<StorageFile> GetFileAsync(winrt::hstring token, AccessCacheOptions options) const;
public IAsyncOperation<StorageFile> GetFileAsync(String token, AccessCacheOptions options)
Public Function GetFileAsync(token As String, options As AccessCacheOptions) As IAsyncOperation(Of StorageFile)
Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList.getFileAsync(token, options).done( /* Your success and error handlers */ );
Parameters
token
String String String

The token of the storageFile to retrieve.

options
AccessCacheOptions AccessCacheOptions AccessCacheOptions

The enum value that describes the behavior to use when the app accesses the item.

Returns

When this method completes successfully, it returns the storageFile that is associated with the specified token.

See Also