IStorageFolderGetItemsAsync Method

Gets the files and subfolders in the current folder.

Definition

Namespace: Avalonia.Platform.Storage
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
IAsyncEnumerable<IStorageItem> GetItemsAsync()

Return Value

IAsyncEnumerableIStorageItem
When this method completes successfully, it returns a list of the files and folders in the current folder. Each item in the list is represented by an IStorageItem implementation object.

See Also