IStorageItemAccessList.GetFolderAsync 方法

定义

重载

GetFolderAsync(String)

从列表中检索指定的 StorageFolder

GetFolderAsync(String, AccessCacheOptions)

使用指定的选项从列表中检索指定的 StorageFolder

GetFolderAsync(String)

从列表中检索指定的 StorageFolder

public:
 IAsyncOperation<StorageFolder ^> ^ GetFolderAsync(Platform::String ^ token);
/// [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

属性

另请参阅

适用于

GetFolderAsync(String, AccessCacheOptions)

使用指定的选项从列表中检索指定的 StorageFolder

public:
 IAsyncOperation<StorageFolder ^> ^ GetFolderAsync(Platform::String ^ token, AccessCacheOptions options);
/// [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

属性

另请参阅

适用于