Bagikan melalui


FileInformationFactory.GetFilesAsync Metode

Definisi

Overload

GetFilesAsync()

Mengambil kumpulan objek FileInformation yang berisi informasi tentang semua objek StorageFile dalam koleksi.

GetFilesAsync(UInt32, UInt32)

Mengambil kumpulan objek FileInformation yang berisi informasi tentang rentang objek StorageFile dalam koleksi.

GetFilesAsync()

Mengambil kumpulan objek FileInformation yang berisi informasi tentang semua objek StorageFile dalam koleksi.

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

Mengembalikan

Ketika metode ini berhasil diselesaikan, metode ini mengembalikan daftar (ketik IVectorView) objek FileInformation .

Atribut

Lihat juga

Berlaku untuk

GetFilesAsync(UInt32, UInt32)

Mengambil kumpulan objek FileInformation yang berisi informasi tentang rentang objek StorageFile dalam koleksi.

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

Parameter

startIndex
UInt32

unsigned int

uint32_t

Indeks berbasis nol dari StorageFile pertama dalam rentang.

maxItemsToRetrieve
UInt32

unsigned int

uint32_t

Jumlah maksimum objek StorageFile untuk mengambil informasi.

Mengembalikan

Ketika metode ini berhasil diselesaikan, metode ini mengembalikan daftar (ketik IVectorView) objek FileInformation .

Atribut

Lihat juga

Berlaku untuk