FileOpenPicker.PickMultipleFilesAsync 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.
Shows the file picker so that the user can pick multiple files. (UWP app)
public:
virtual IAsyncOperation<IVectorView<StorageFile ^> ^> ^ PickMultipleFilesAsync() = PickMultipleFilesAsync;
IAsyncOperation<IVectorView<StorageFile>> PickMultipleFilesAsync();
public IAsyncOperation<IReadOnlyList<StorageFile>> PickMultipleFilesAsync();
function pickMultipleFilesAsync()
Public Function PickMultipleFilesAsync () As IAsyncOperation(Of IReadOnlyList(Of StorageFile))
Returns
When the call to this method completes successfully, it returns a filePickerSelectedFilesArray object that contains all the files that were picked by the user. Picked files in this array are represented by storageFile objects.
Remarks
Warning
On Windows 8, if you try to show the file picker while your app is snapped the file picker will not be shown and an exception will be thrown. You can avoid this by making sure your app is not snapped or by unsnapping it before you call the file picker. The code examples in FileOpenPicker and the File picker sample show you how.
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