ApplicationDataStorageHelper.TryRenameCacheItemAsync(String, 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.
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.