共用方式為


StorageItemAccessList.GetFolderAsync 方法

定義

多載

GetFolderAsync(String)

從清單中擷取指定的 StorageFolder

GetFolderAsync(String, AccessCacheOptions)

使用指定的選項,從清單中擷取指定的 StorageFolder

GetFolderAsync(String)

從清單中擷取指定的 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)

使用指定的選項,從清單中擷取指定的 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)
屬性

另請參閱

適用於