Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Applies to Windows and Windows Phone

Gets an index-based range from a list of all the files and sub-folders inside the current folder. Items in the range based on the resulting indexes.

Syntax


storageFolder.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 to retrieve.

maxItemsToRetrieve

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

The maximum number of items to retrieve.

Return value

Type: IAsyncOperation<IVectorView>

When this method completes successfully, it returns a list of the files and folders (type IVectorView). The files and folders in the list are represented by objects of type IStorageItem.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

StorageFolder
GetItemsAsync

 

 

Show:
© 2014 Microsoft. All rights reserved.