FileOpenPickerUI.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.
Removes the specified file from the list of files the user has chosen.
public:
virtual void RemoveFile(Platform::String ^ id) = RemoveFile;
void RemoveFile(winrt::hstring const& id);
public void RemoveFile(string id);
function removeFile(id)
Public Sub RemoveFile (id As String)
Parameters
- id
-
String
Platform::String
winrt::hstring
The identifier of the file to remove.
Remarks
The specified id should be the same as the one provided when the file was added to the file picker UI.
When the user deselects a file in the app's file picker view, the app calls this method to remove the item from the file picker UI.