StorageItemMostRecentlyUsedList.GetFolderAsync 方法

定义

重载

GetFolderAsync(String)

从最近使用的 (MRU) 列表中检索指定的 StorageFolder

GetFolderAsync(String, AccessCacheOptions)

使用指定的选项从最近使用的 (MRU) 列表中检索指定的 StorageFolder

GetFolderAsync(String)

从最近使用的 (MRU) 列表中检索指定的 StorageFolder

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)

参数

token
String

Platform::String

winrt::hstring

要检索的 StorageFolder 的标记。

返回

此方法成功完成后,将返回与指定令牌关联的 StorageFolder

实现

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

另请参阅

适用于

GetFolderAsync(String, AccessCacheOptions)

使用指定的选项从最近使用的 (MRU) 列表中检索指定的 StorageFolder

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)

参数

token
String

Platform::String

winrt::hstring

要检索的 StorageFolder 的标记。

options
AccessCacheOptions

枚举值,该值描述应用访问项时要使用的行为。

返回

此方法成功完成后,将返回与指定令牌关联的 StorageFolder

实现

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)
属性

另请参阅

适用于