Dela via


StorageItemAccessList.GetFolderAsync Method

Definition

Overloads

GetFolderAsync(String)

Retrieves the specified StorageFolder from the list.

GetFolderAsync(String, AccessCacheOptions)

Retrieves the specified StorageFolder from the list using the specified options.

GetFolderAsync(String)

Retrieves the specified StorageFolder from the 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 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