FileInformationFactory.GetFilesAsync(UInt32, UInt32) | getFilesAsync(UInt32, UInt32) method

Applies to Windows only

Retrieves a collection of FileInformation objects that contain information about a range of StorageFile objects in a collection.

Syntax


fileInformationFactory.getFilesAsync(startIndex, maxItemsToRetrieve).done( /* Your success and error handlers */ );

Parameters

startIndex

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The zero-based index of the first StorageFile in the range.

maxItemsToRetrieve

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The maximum number of StorageFile objects to retrieve information for.

Return value

Type: IAsyncOperation<IVectorView>

When this method completes successfully, it returns the list (type IVectorView) of FileInformation objects.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

FileInformationFactory
GetFilesAsync

 

 

Show:
© 2014 Microsoft