Jaa


FileInformationFactory.GetFilesAsync Method

Definition

Overloads

GetFilesAsync()

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

GetFilesAsync(UInt32, UInt32)

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

GetFilesAsync()

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

public:
 virtual IAsyncOperation<IVectorView<FileInformation ^> ^> ^ GetFilesAsync() = GetFilesAsync;
/// [Windows.Foundation.Metadata.Overload("GetFilesAsyncDefaultStartAndCount")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<FileInformation>> GetFilesAsync();
[Windows.Foundation.Metadata.Overload("GetFilesAsyncDefaultStartAndCount")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<FileInformation>> GetFilesAsync();
function getFilesAsync()
Public Function GetFilesAsync () As IAsyncOperation(Of IReadOnlyList(Of FileInformation))

Returns

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

Attributes

See also

Applies to

GetFilesAsync(UInt32, UInt32)

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

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

Parameters

startIndex
UInt32

unsigned int

uint32_t

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

maxItemsToRetrieve
UInt32

unsigned int

uint32_t

The maximum number of StorageFile objects to retrieve information for.

Returns

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

Attributes

See also

Applies to