FileInformationFactory.GetFilesAsync FileInformationFactory.GetFilesAsync FileInformationFactory.GetFilesAsync FileInformationFactory.GetFilesAsync FileInformationFactory.GetFilesAsync Method

Definition

Overloads

GetFilesAsync() GetFilesAsync() GetFilesAsync() GetFilesAsync() GetFilesAsync()

Retrieves a collection of FileInformation objects that contain information about all StorageFile objects in a collection.

GetFilesAsync(UInt32, UInt32) GetFilesAsync(UInt32, UInt32) GetFilesAsync(UInt32, UInt32) GetFilesAsync(UInt32, UInt32) GetFilesAsync(UInt32, UInt32)

Retrieves a collection of FileInformation objects that contain information about a range of StorageFile objects in a collection.

GetFilesAsync() GetFilesAsync() GetFilesAsync() GetFilesAsync() GetFilesAsync()

Retrieves a collection of FileInformation objects that contain information about all StorageFile objects in a collection.

public : IAsyncOperation<IVectorView<FileInformation>> GetFilesAsync()
IAsyncOperation<IVectorView<FileInformation>> GetFilesAsync() const;
public IAsyncOperation<IReadOnlyList<FileInformation>> GetFilesAsync()
Public Function GetFilesAsync() As IAsyncOperation<IReadOnlyList<FileInformation>>(Of IVectorView)
Windows.Storage.BulkAccess.FileInformationFactory.getFilesAsync().done( /* Your success and error handlers */ );

Returns

IAsyncOperation<IReadOnlyList<FileInformation>> IAsyncOperation<IReadOnlyList<FileInformation>> IAsyncOperation<IReadOnlyList<FileInformation>>

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

See also

GetFilesAsync(UInt32, UInt32) GetFilesAsync(UInt32, UInt32) GetFilesAsync(UInt32, UInt32) GetFilesAsync(UInt32, UInt32) GetFilesAsync(UInt32, UInt32)

Retrieves a collection of FileInformation objects that contain information about a range of StorageFile objects in a collection.

public : IAsyncOperation<IVectorView<FileInformation>> GetFilesAsync(unsigned int startIndex, unsigned int maxItemsToRetrieve)
IAsyncOperation<IVectorView<FileInformation>> GetFilesAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const;
public IAsyncOperation<IReadOnlyList<FileInformation>> GetFilesAsync(UInt32 startIndex, UInt32 maxItemsToRetrieve)
Public Function GetFilesAsync(startIndex As UInt32, maxItemsToRetrieve As UInt32) As IAsyncOperation<IReadOnlyList<FileInformation>>(Of IVectorView)
Windows.Storage.BulkAccess.FileInformationFactory.getFilesAsync(startIndex, maxItemsToRetrieve).done( /* Your success and error handlers */ );

Parameters

startIndex
UInt32 UInt32 UInt32

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

maxItemsToRetrieve
UInt32 UInt32 UInt32

The maximum number of StorageFile objects to retrieve information for.

Returns

IAsyncOperation<IReadOnlyList<FileInformation>> IAsyncOperation<IReadOnlyList<FileInformation>> IAsyncOperation<IReadOnlyList<FileInformation>>

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

See also