Share via


FileInformationFactory.GetFilesAsync Methode

Definition

Überlädt

GetFilesAsync()

Ruft eine Auflistung von FileInformation-Objekten ab, die Informationen zu allen StorageFile-Objekten in einer Auflistung enthalten.

GetFilesAsync(UInt32, UInt32)

Ruft eine Auflistung von FileInformation-Objekten ab, die Informationen zu einem Bereich von StorageFile-Objekten in einer Auflistung enthalten.

GetFilesAsync()

Ruft eine Auflistung von FileInformation-Objekten ab, die Informationen zu allen StorageFile-Objekten in einer Auflistung enthalten.

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

Gibt zurück

Wenn diese Methode erfolgreich abgeschlossen wurde, gibt sie die Liste (Typ IVectorView) der FileInformation-Objekte zurück.

Attribute

Weitere Informationen

Gilt für:

GetFilesAsync(UInt32, UInt32)

Ruft eine Auflistung von FileInformation-Objekten ab, die Informationen zu einem Bereich von StorageFile-Objekten in einer Auflistung enthalten.

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

Der nullbasierte Index des ersten StorageFile-Werts im Bereich.

maxItemsToRetrieve
UInt32

unsigned int

uint32_t

Die maximale Anzahl von StorageFile-Objekten , für die Informationen abgerufen werden sollen.

Gibt zurück

Wenn diese Methode erfolgreich abgeschlossen wurde, gibt sie die Liste (Typ IVectorView) der FileInformation-Objekte zurück.

Attribute

Weitere Informationen

Gilt für: