-api-id | -api-type |
---|---|
M:Windows.Storage.Search.IStorageFolderQueryOperations.GetItemsAsync(System.UInt32,System.UInt32) |
winrt method |
Retrieves a list items like files, folders, or file groups, in a specified range (shallow enumeration).
The zero-based index of the first item in the range. This parameter defaults to 0.
The maximum number of items to retrieve. Use -1 to retrieve all items.
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.
IStorageFolderQueryOperations interface, Windows.Foundation.IVectorView interface, Windows.Storage.IStorageItem interface, Windows.Storage.StorageFile class, Windows.Storage.StorageFolder class