Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 836 Bytes

knownfolders_getfolderasync_116463356.md

File metadata and controls

25 lines (17 loc) · 836 Bytes
-api-id -api-type
M:Windows.Storage.KnownFolders.GetFolderAsync(Windows.Storage.KnownFolderId)
winrt method

-description

Retrieves the folder for the folderId specified.

-parameters

-param folderId

The Id of the folder to be returned.

-returns

When this method completes, it returns the requested StorageFolder object.

-remarks

This is a Single User Aware (SUA) method.

If the app does not have access because it isn’t manifested with the required capability, the user denied access from a prompt or the settings page, or a system administrator has disabled access, then this call will fail with access denied.

-see-also

KnownFolderId, StorageFolder, GetFolderForUserAsync

-examples