Edit

Share via


ApplicationDataStorageHelper.ReadCacheFolderAsync(String) Method

Definition

Retrieves the listings for a folder and the item types in the LocalCacheFolder.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<(Microsoft.Toolkit.Helpers.DirectoryItemType ItemType, string Name)>> ReadCacheFolderAsync (string folderPath);
member this.ReadCacheFolderAsync : string -> System.Threading.Tasks.Task<seq<ValueTuple<Microsoft.Toolkit.Helpers.DirectoryItemType, string>>>
Public Function ReadCacheFolderAsync (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 file types and names in the target folder.

Applies to