IStorageFolder.GetFilesAsync Methode

Definition

Ruft die Dateien aus dem aktuellen Ordner ab.

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

Gibt zurück

Wenn diese Methode erfolgreich abgeschlossen wurde, wird eine Liste der Dateien (Typ IVectorView) im Ordner zurückgegeben. Jede Datei in der Liste wird durch ein StorageFile-Objekt dargestellt.

Attribute

Gilt für:

Weitere Informationen