Version:
MoveFileAsync(string sourceFileName, string targetFileName, bool overwrite) Method
Moves a file from sourceFileName to targetFileName.
Syntax
public
abstract
System.Threading.Tasks.Task MoveFileAsync(string sourceFileName, string targetFileName, bool overwrite)
Parameters
- sourceFileName
- Type: string
The full path of the source file.
- targetFileName
- Type: string
The full path of the target file.
- overwrite
- Type: bool
Value indicating whether targetFileName may be overwritten if necessary.