Skip to main content

GetItemsAsync Method

Gets the files and subfolders in the current folder.

Definition​

Namespace: Avalonia.Platform.Storage
Assembly: Avalonia.Base (in Avalonia.Base.dll)

IAsyncEnumerable<IStorageItem> GetItemsAsync()
View Source

Return Value​

IAsyncEnumerable(IStorageItem)
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​

Reference​

IStorageFolder Interface
Avalonia.Platform.Storage Namespace