共用方式為


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 執行緒呼叫。

適用於

另請參閱