IStorageItemAccessList.GetFolderAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
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)
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.
- Attributes
See also
Applies to
GetFolderAsync(String, AccessCacheOptions)
Retrieves the specified StorageFolder from the list using the specified options.
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)
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.
- Attributes