Method Replace
Replace(IAbsoluteFilePath, IAbsoluteFilePath, bool)
Replaces the contents of a file with the current file, deleting the original file and creating a backup of the replaced file.
Declaration
void Replace(IAbsoluteFilePath destinationFile, IAbsoluteFilePath backupFile, bool ignoreMetadataErrors = false)
Parameters
Type | Name | Description |
---|---|---|
IAbsoluteFilePath | destinationFile | The file to replace. |
IAbsoluteFilePath | backupFile | The location to backup the file described by the |
bool | ignoreMetadataErrors | True to ignore merge errors (such as attributes and ACLs) from the replaced file to the replacement file; otherwise false. |