StorageLibrary.RequestRemoveFolderAsync(StorageFolder) 方法

定义

提示用户确认从当前库中删除指定的文件夹,然后删除该文件夹。

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)

参数

folder
StorageFolder

要删除的文件夹。

返回

如果删除了文件夹,则返回 true;否则为 false。

注解

重要

必须从 UI 线程调用此方法。

适用于

另请参阅