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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for