Edit

Share via


ApplicationDataStorageHelper.ReadFolderAsync(String) Method

Definition

Retrieves the listings for a folder and the item types.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<(Microsoft.Toolkit.Helpers.DirectoryItemType ItemType, string Name)>> ReadFolderAsync (string folderPath);
abstract member ReadFolderAsync : string -> System.Threading.Tasks.Task<seq<ValueTuple<Microsoft.Toolkit.Helpers.DirectoryItemType, string>>>
override this.ReadFolderAsync : string -> System.Threading.Tasks.Task<seq<ValueTuple<Microsoft.Toolkit.Helpers.DirectoryItemType, string>>>
Public Function ReadFolderAsync (folderPath As String) As Task(Of IEnumerable(Of ValueTuple(Of DirectoryItemType, String)))

Parameters

folderPath
String

The path to the target folder.

Returns

A list of item types and names in the target folder.

Implements

Applies to