File.Replace Method
.NET Framework 4.5
Replaces the contents of a specified file with the contents of another file, deleting the original file, and creating a backup of the replaced file.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Replace(String, String, String) | Replaces the contents of a specified file with the contents of another file, deleting the original file, and creating a backup of the replaced file. |
|
Replace(String, String, String, Boolean) | Replaces the contents of a specified file with the contents of another file, deleting the original file, and creating a backup of the replaced file and optionally ignores merge errors. |