Edit

Share via


ApplicationDataStorageHelper.TryRenameCacheItemAsync(String, String) Method

Definition

Rename an item in the LocalCacheFolder.

public System.Threading.Tasks.Task<bool> TryRenameCacheItemAsync (string itemPath, string newName);
member this.TryRenameCacheItemAsync : string * string -> System.Threading.Tasks.Task<bool>
Public Function TryRenameCacheItemAsync (itemPath As String, newName As String) As Task(Of Boolean)

Parameters

itemPath
String

The path to the target item.

newName
String

The new nam for the target item.

Returns

Waiting task until completion.

Applies to