共用方式為


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

屬性

另請參閱

適用於