Delen via


StorageLibrary.RequestRemoveFolderAsync(StorageFolder) Method

Definition

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