SharedStorageAccessManager.RemoveFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Platform::String
winrt::hstring
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.