StorageLibrary.RequestAddFolderAsync 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.
Prompts the user to select a folder, and then adds the folder to the library.
public:
virtual IAsyncOperation<StorageFolder ^> ^ RequestAddFolderAsync() = RequestAddFolderAsync;
IAsyncOperation<StorageFolder> RequestAddFolderAsync();
public IAsyncOperation<StorageFolder> RequestAddFolderAsync();
function requestAddFolderAsync()
Public Function RequestAddFolderAsync () As IAsyncOperation(Of StorageFolder)
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for