ApplicationDataStorageHelper.ReadFolderAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.