ApplicationDataStorageHelper.ReadCacheFolderAsync(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 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.