Share via


FileInformationFactory.GetItemsAsync Method

Definition

Overloads

GetItemsAsync()

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

GetItemsAsync(UInt32, UInt32)

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

GetItemsAsync()

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

public:
 virtual IAsyncOperation<IVectorView<IStorageItemInformation ^> ^> ^ GetItemsAsync() = GetItemsAsync;
/// [Windows.Foundation.Metadata.Overload("GetItemsAsyncDefaultStartAndCount")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<IStorageItemInformation>> GetItemsAsync();
[Windows.Foundation.Metadata.Overload("GetItemsAsyncDefaultStartAndCount")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<IStorageItemInformation>> GetItemsAsync();
function getItemsAsync()
Public Function GetItemsAsync () As IAsyncOperation(Of IReadOnlyList(Of IStorageItemInformation))

Returns

When this method completes successfully, it returns the list (type IVectorView) of FileInformation and FolderInformation objects.

Attributes

See also

Applies to

GetItemsAsync(UInt32, UInt32)

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

public:
 virtual IAsyncOperation<IVectorView<IStorageItemInformation ^> ^> ^ GetItemsAsync(unsigned int startIndex, unsigned int maxItemsToRetrieve) = GetItemsAsync;
/// [Windows.Foundation.Metadata.Overload("GetItemsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<IStorageItemInformation>> GetItemsAsync(uint32_t const& startIndex, uint32_t const& maxItemsToRetrieve);
[Windows.Foundation.Metadata.Overload("GetItemsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<IStorageItemInformation>> GetItemsAsync(uint startIndex, uint maxItemsToRetrieve);
function getItemsAsync(startIndex, maxItemsToRetrieve)
Public Function GetItemsAsync (startIndex As UInteger, maxItemsToRetrieve As UInteger) As IAsyncOperation(Of IReadOnlyList(Of IStorageItemInformation))

Parameters

startIndex
UInt32

unsigned int

uint32_t

The zero-based index of the first item in the range.

maxItemsToRetrieve
UInt32

unsigned int

uint32_t

The maximum number of items to retrieve information for.

Returns

When this method completes successfully, it returns the list (type IVectorView) of FileInformation and FolderInformation objects.

Attributes

See also

Applies to