MoveFileAsync(string originalName, string newName) Method

Moves the specified file.

Syntax

public virtual System.Threading.Tasks.Task MoveFileAsync(string originalName, string newName)

Parameters

originalName
Type: string

The original name of the file.

newName
Type: string

The new name of the file.

Remarks

The default implementation calls CopyFileAsync(string sourceName, string targetName, bool overwrite) and DeleteFileAsync(string fileName).