ApplicationData.ClearPublisherCacheFolderAsync(String) 方法

定义

从发布者共享存储文件夹的指定子文件夹中异步清除文件和子文件夹。

public:
 virtual IAsyncAction ^ ClearPublisherCacheFolderAsync(Platform::String ^ folderName) = ClearPublisherCacheFolderAsync;
IAsyncAction ClearPublisherCacheFolderAsync(winrt::hstring const& folderName);
public IAsyncAction ClearPublisherCacheFolderAsync(string folderName);
function clearPublisherCacheFolderAsync(folderName)
Public Function ClearPublisherCacheFolderAsync (folderName As String) As IAsyncAction

参数

folderName
String

Platform::String

winrt::hstring

要清除的子文件夹的名称。

返回

返回用于跟踪异步操作的 IAsyncAction 对象。

适用于

另请参阅