FileOpenPickerUI.CanAddFile(IStorageFile) 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.
Indicates whether the specified file can be added to the list of files the user has chosen.
public:
virtual bool CanAddFile(IStorageFile ^ file) = CanAddFile;
bool CanAddFile(IStorageFile const& file);
public bool CanAddFile(IStorageFile file);
function canAddFile(file)
Public Function CanAddFile (file As IStorageFile) As Boolean
Parameters
- file
- IStorageFile
The file to test.
Returns
Boolean
bool
True if the file can be added to the file picker UI; otherwise false.