GetItemsAsync(UInt32, UInt32) | getItemsAsync(UInt32, UInt32) method
Collapse the table of content
Expand the table of content

FileInformationFactory.GetItemsAsync(UInt32, UInt32) | getItemsAsync(UInt32, UInt32) method

Retrieves a collection of IStorageItemInformation objects that contain information about a range of items in a collection.

Syntax


fileInformationFactory.getItemsAsync(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 item in the range.

maxItemsToRetrieve

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

The maximum number of items to retrieve information for.

Return value

Type: IAsyncOperation<IVectorView>

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

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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
GetItemsAsync

 

 

Show:
© 2016 Microsoft