Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

StorageItemMostRecentlyUsedList.GetFolderAsync Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Name Description
GetFolderAsync(String)

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

GetFolderAsync(String, AccessCacheOptions)

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

GetFolderAsync(String)

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

public:
 virtual IAsyncOperation<StorageFolder ^> ^ GetFolderAsync(Platform::String ^ token) = GetFolderAsync;
/// [Windows.Foundation.Metadata.Overload("GetFolderAsync")]
IAsyncOperation<StorageFolder> GetFolderAsync(winrt::hstring const& token);
[Windows.Foundation.Metadata.Overload("GetFolderAsync")]
public IAsyncOperation<StorageFolder> GetFolderAsync(string token);
function getFolderAsync(token)
Public Function GetFolderAsync (token As String) As IAsyncOperation(Of StorageFolder)

Parameters

token
String

Platform::String

winrt::hstring

The token of the StorageFolder to retrieve.

Returns

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

Implements

M:Windows.Storage.AccessCache.IStorageItemAccessList.GetFolderAsync(System.String) M:Windows.Storage.AccessCache.IStorageItemAccessList.GetFolderAsync(Platform::String) M:Windows.Storage.AccessCache.IStorageItemAccessList.GetFolderAsync(winrt::hstring)
Attributes

See also

Applies to

GetFolderAsync(String, AccessCacheOptions)

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

public:
 virtual IAsyncOperation<StorageFolder ^> ^ GetFolderAsync(Platform::String ^ token, AccessCacheOptions options) = GetFolderAsync;
/// [Windows.Foundation.Metadata.Overload("GetFolderWithOptionsAsync")]
IAsyncOperation<StorageFolder> GetFolderAsync(winrt::hstring const& token, AccessCacheOptions const& options);
[Windows.Foundation.Metadata.Overload("GetFolderWithOptionsAsync")]
public IAsyncOperation<StorageFolder> GetFolderAsync(string token, AccessCacheOptions options);
function getFolderAsync(token, options)
Public Function GetFolderAsync (token As String, options As AccessCacheOptions) As IAsyncOperation(Of StorageFolder)

Parameters

token
String

Platform::String

winrt::hstring

The token of the StorageFolder to retrieve.

options
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 StorageFolder that is associated with the specified token.

Implements

M:Windows.Storage.AccessCache.IStorageItemAccessList.GetFolderAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions) M:Windows.Storage.AccessCache.IStorageItemAccessList.GetFolderAsync(Platform::String,Windows.Storage.AccessCache.AccessCacheOptions) M:Windows.Storage.AccessCache.IStorageItemAccessList.GetFolderAsync(winrt::hstring,Windows.Storage.AccessCache.AccessCacheOptions)
Attributes

See also

Applies to


Feedback

Was this page helpful?