FileInformationFactory.GetFilesAsync Método

Definição

Sobrecargas

GetFilesAsync()

Recupera uma coleção de objetos FileInformation que contêm informações sobre todos os objetos StorageFile em uma coleção.

GetFilesAsync(UInt32, UInt32)

Recupera uma coleção de objetos FileInformation que contêm informações sobre um intervalo de objetos StorageFile em uma coleção.

GetFilesAsync()

Recupera uma coleção de objetos FileInformation que contêm informações sobre todos os objetos StorageFile em uma coleção.

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))

Retornos

Quando esse método for concluído com êxito, ele retornará a lista (tipo IVectorView) de objetos FileInformation .

Atributos

Confira também

Aplica-se a

GetFilesAsync(UInt32, UInt32)

Recupera uma coleção de objetos FileInformation que contêm informações sobre um intervalo de objetos StorageFile em uma coleção.

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))

Parâmetros

startIndex
UInt32

unsigned int

uint32_t

O índice baseado em zero do primeiro StorageFile no intervalo.

maxItemsToRetrieve
UInt32

unsigned int

uint32_t

O número máximo de objetos StorageFile para o qual recuperar informações.

Retornos

Quando esse método for concluído com êxito, ele retornará a lista (tipo IVectorView) de objetos FileInformation .

Atributos

Confira também

Aplica-se a