-api-id | -api-type |
---|---|
M:Windows.Storage.Search.StorageItemQueryResult.GetItemsAsync |
winrt method |
Retrieves a list of all the items (files and folders) in the query results set.
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.
StorageItemQueryResult class, StorageItemQueryResult.GetItemsAsync(startIndex, maxNumberOfItems) method, Windows.Foundation.Collections.IVectorView interface, Windows.Storage.IStorageItem interface, Windows.Storage.IStorageItem.IsOfType method, Windows.Storage.StorageFile class, Windows.Storage.StorageFolder class