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 |
|
|
Metadata |
|
See also
Build date: 2/25/2013