FileOpenPicker.PickMultipleFilesAsync | pickMultipleFilesAsync method

3 out of 6 rated this helpful - Rate this topic

Shows the file picker so that the user can pick multiple files.

Syntax

Public Function PickMultipleFilesAsync() As IAsyncOperation(Of IReadOnlyList)

Parameters

This method has no parameters.

Return value

Type: IAsyncOperation<IVectorView>

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

Windows Phone 8

This API is not implemented and will throw an exception if called.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage.Pickers
Windows::Storage::Pickers [C++]

Metadata

Windows.winmd

See also

File picker sample
Quickstart: Accessing files with file pickers
fileOpenPicker class
filePickerSelectedFilesArray class
Windows.Storage.storageFile class

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.