Edit

Share via


ApplicationDataStorageHelper.TryRenameItemAsync(String, String) Method

Definition

Rename an item.

public System.Threading.Tasks.Task<bool> TryRenameItemAsync (string itemPath, string newName);
abstract member TryRenameItemAsync : string * string -> System.Threading.Tasks.Task<bool>
override this.TryRenameItemAsync : string * string -> System.Threading.Tasks.Task<bool>
Public Function TryRenameItemAsync (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.

Implements

Applies to