SharedStorageAccessManager.RemoveFile(String) Method

Definition

Revokes an existing sharing token.

public:
 static void RemoveFile(Platform::String ^ token);
 static void RemoveFile(winrt::hstring const & token);
public static void RemoveFile(string token);
function removeFile(token)
Public Shared Sub RemoveFile (token As String)

Parameters

token
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.

Applies to