Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

StorageLibrary.RequestRemoveFolderAsync(StorageFolder) Method

Definition

Namespace:
Windows.Storage

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 confirm removal of the specified folder from the current library, and then removes the folder.

public:
 virtual IAsyncOperation<bool> ^ RequestRemoveFolderAsync(StorageFolder ^ folder) = RequestRemoveFolderAsync;
IAsyncOperation<bool> RequestRemoveFolderAsync(StorageFolder const& folder);
public IAsyncOperation<bool> RequestRemoveFolderAsync(StorageFolder folder);
function requestRemoveFolderAsync(folder)
Public Function RequestRemoveFolderAsync (folder As StorageFolder) As IAsyncOperation(Of Boolean)

Parameters

folder
StorageFolder

The folder to remove.

Returns

Returns true if the folder was removed; otherwise false.

Remarks

Important

This method must be called from a UI thread.

Applies to

See also


Feedback

Was this page helpful?