SharedStorageAccessManager.RemoveFile(String) SharedStorageAccessManager.RemoveFile(String) SharedStorageAccessManager.RemoveFile(String) SharedStorageAccessManager.RemoveFile(String) SharedStorageAccessManager.RemoveFile(String) Method

Definition

Revokes an existing sharing token.

public : static void RemoveFile(Platform::String token)
static void RemoveFile(winrt::hstring token) const;
public static void RemoveFile(String token)
Public Shared Sub RemoveFile(token As String)
Windows.ApplicationModel.DataTransfer.SharedStorageAccessManager.removeFile(token);

Parameters

token
String String String

The sharing token to revoke.

Remarks

The source app can optionally call the RemoveFile method to revoke a token that it obtained previously by calling the AddFile method.