ApplicationDataStorageHelper.TryDeleteItemAsync(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.
Deletes a file or folder item.
public System.Threading.Tasks.Task<bool> TryDeleteItemAsync (string itemPath);
abstract member TryDeleteItemAsync : string -> System.Threading.Tasks.Task<bool>
override this.TryDeleteItemAsync : string -> System.Threading.Tasks.Task<bool>
Public Function TryDeleteItemAsync (itemPath As String) As Task(Of Boolean)
Parameters
- itemPath
- String
The path to the item for deletion.
Returns
Waiting task until completion.