Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.59 KB

fileopenpicker_pickmultiplefilesasync_1324933367.md

File metadata and controls

26 lines (18 loc) · 1.59 KB
-api-id -api-type
M:Windows.Storage.Pickers.FileOpenPicker.PickMultipleFilesAsync
winrt method

Windows.Storage.Pickers.FileOpenPicker.PickMultipleFilesAsync

-description

Shows the file picker so that the user can pick multiple files. (UWP app)

-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.

-examples

-see-also

File picker sample, Open files and folders with a picker, fileOpenPicker class, filePickerSelectedFilesArray class, Windows.Storage.storageFile class