Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.65 KB

istoragefolderqueryoperations_getitemsasync_561011846.md

File metadata and controls

32 lines (22 loc) · 1.65 KB
-api-id -api-type
M:Windows.Storage.Search.IStorageFolderQueryOperations.GetItemsAsync(System.UInt32,System.UInt32)
winrt method

Windows.Storage.Search.IStorageFolderQueryOperations.GetItemsAsync

-description

Retrieves a list items like files, folders, or file groups, in a specified range (shallow enumeration).

-parameters

-param startIndex

The zero-based index of the first item in the range. This parameter defaults to 0.

-param maxItemsToRetrieve

The maximum number of items to retrieve. Use -1 to retrieve all items.

-returns

When this method completes successfully, it returns a list (type IVectorView) of items. Each item is the IStorageItem type and represents a file, folder, or file group.

In this list, files are represented by StorageFile objects, and folders or file groups are represented by StorageFolder objects.

-remarks

-examples

-see-also

IStorageFolderQueryOperations interface, Windows.Foundation.IVectorView interface, Windows.Storage.IStorageItem interface, Windows.Storage.StorageFile class, Windows.Storage.StorageFolder class