Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 940 Bytes

storagelibrary_requestaddfolderasync_612249322.md

File metadata and controls

25 lines (18 loc) · 940 Bytes
-api-id -api-type
M:Windows.Storage.StorageLibrary.RequestAddFolderAsync
winrt method

Windows.Storage.StorageLibrary.RequestAddFolderAsync

-description

Prompts the user to select a folder, and then adds the folder to the library.

-returns

When this method completes, it returns the folder that the user picked and added as a StorageFolder. If the user cancels the operation and doesn't pick a folder, the method returns null.

-remarks

The file picker displayed lets user select only library-eligible locations. If there are pending suggestions a suggestion dialog will be shown instead of a folder picker.

-examples

-see-also

Library management sample (Windows 10)