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

The token of the StorageFolder to retrieve.

Returns

IAsyncOperation<StorageFolder>

When this method completes successfully, it returns the StorageFolder that is associated with the specified token.

Implements

Attributes

See also

Applies to

Product Introduced

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 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

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

IAsyncOperation<StorageFolder>

When this method completes successfully, it returns the StorageFolder that is associated with the specified token.

Implements

Attributes

See also

Applies to

Product Introduced