## File::Replace method


한 파일의 내용을 다른 파일로 교체하고 교체된 파일의 백업을 생성합니다.

```cpp
static void System::IO::File::Replace(const String &sourceFileName, const String &destinationFileName, const String &destinationBackupFileName, bool ignoreMetadataErrors=true)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| sourceFileName | const String\& | 교체할 파일의 이름 |
| destinationFileName | const String\& | 교체할 파일의 이름 |
| destinationBackupFileName | const String\& | 백업 파일의 이름 |
| ignoreMetadataErrors | bool | 교체된 파일에서 교체 파일로의 병합 오류를 무시할지 여부를 지정합니다 (true) 또는 무시하지 않을지 (false) |

## 또 보기

* Class [String](../../../system/string/)
* Class [File](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
