ApplicationData.ClearPublisherCacheFolderAsync(String) ApplicationData.ClearPublisherCacheFolderAsync(String) ApplicationData.ClearPublisherCacheFolderAsync(String) ApplicationData.ClearPublisherCacheFolderAsync(String) ApplicationData.ClearPublisherCacheFolderAsync(String) Method

Definition

Clears the files and subfolders from the specified subfolder of the shared storage folder for the publisher of the current app.

public : IAsyncAction ClearPublisherCacheFolderAsync(Platform::String folderName)
IAsyncAction ClearPublisherCacheFolderAsync(winrt::hstring folderName) const;
public IAsyncAction ClearPublisherCacheFolderAsync(String folderName)
Public Function ClearPublisherCacheFolderAsync(folderName As String) As IAsyncAction
Windows.Storage.ApplicationData.clearPublisherCacheFolderAsync(folderName).done( /* Your success and error handlers */ );

Parameters

folderName
String String String

The subfolder of the shared storage folder for the publisher of the current app from which to clear the files and subfolders.

Returns

Represents an asynchronous action that does not return a result and does not have progress notifications. You can use this value to get the results of the operation, or to specify a method to run when the operation completes - for example, to repopulate the shared storage folder with new data.

Remarks

For more info about how to share files and folders among apps from the same publisher, see GetPublisherCacheFolder.

See also