| IStorageServiceHandlerMoveFileAsync Method (String, String, Boolean) |
Moves an existing file to a new file, and optionally overwrites an existing file.
Namespace: Cimbalino.Toolkit.ServicesAssembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax Task MoveFileAsync(
string sourceFileName,
string destinationFileName,
bool overwrite
)
Parameters
- sourceFileName
- Type: SystemString
The name of the file to move. - destinationFileName
- Type: SystemString
The name of the destination file. This cannot be a directory. - overwrite
- Type: SystemBoolean
true if the destination file can be overwritten; otherwise, false.
Return Value
Type:
TaskThe
Task object representing the asynchronous operation.
Version Information Portable
Supported in: 4.5
Windows
Supported in: 10.0, 8.1
Windows Phone
Supported in: 8.1
Windows Phone Silverlight
Supported in: 8.1, 8.0
See Also