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

Applies to Windows only

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

Syntax

Public Function GetItemsAsync(
  startIndex As UInteger,  
  maxItemsToRetrieve As UInteger 
) As IAsyncOperation(Of IReadOnlyList)

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

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:
© 2014 Microsoft