Method MoveTo
MoveTo(IAbsoluteFilePath, bool)
Moves the file to a new location, optionally allowing the overwriting of an existing file.
Declaration
void MoveTo(IAbsoluteFilePath destinationFile, bool overwrite = false)
Parameters
Type | Name | Description |
---|---|---|
IAbsoluteFilePath | destinationFile | The new location for the file. |
bool | overwrite | true to allow an existing file to be overwritten; otherwise, false. |