How to Delete Files and Application Data Container Values in One Go?
问题 I have a reset function in my app which brings the app back to default state. There for I need to remove the four files I created and remove the settings I created in the ApplicationDataContainer . This is how I remove the files try { StorageFile file = await localfolder.GetFileAsync("HistoryFile"); if (file != null) { await file.DeleteAsync(); } } catch { //Catch Process } Is there a function which removes all the files together? When I tried the following code localfolder.DeleteAsync() It