## FileInfo::Replace(const String\&, const String\&) method


Belirtilen hedef dosyanın içeriğini, geçerli [FileInfo](../) nesnesi tarafından temsil edilen dosya ile değiştirir ve değiştirilen dosyanın bir yedeğini oluşturur.

```cpp
FileInfoPtr System::IO::FileInfo::Replace(const String &destinationFileName, const String &destinationBackupFileName)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| destinationFileName | const String\& | Değiştirilecek dosyanın adı |
| destinationBackupFileName | const String\& | Yedek dosyanın adı |

### ReturnValue

**destinationFileName** tarafından işaret edilen dosyayı temsil eden bir FileInfor nesnesi

## Ayrıca Bakınız

* Typedef [FileInfoPtr](../../../system/fileinfoptr/)
* Class [String](../../../system/string/)
* Class [FileInfo](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
## FileInfo::Replace(const String\&, const String\&, bool) method


Belirtilen hedef dosyanın içeriğini, geçerli [FileInfo](../) nesnesi tarafından temsil edilen dosya ile değiştirir ve değiştirilen dosyanın bir yedeğini oluşturur.

```cpp
FileInfoPtr System::IO::FileInfo::Replace(const String &destinationFileName, const String &destinationBackupFileName, bool ignoreMetadataErrors)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| destinationFileName | const String\& | Değiştirilecek dosyanın adı |
| destinationBackupFileName | const String\& | Yedek dosyanın adı |
| ignoreMetadataErrors | bool | Değiştirilen dosyadan yerine koyma dosyasına yapılan birleştirme hatalarının göz ardı edilip edilmeyeceğini (true) veya edilmeyeceğini (false) belirtir. |

### ReturnValue

**destinationFileName** tarafından işaret edilen dosyayı temsil eden bir FileInfor nesnesi

## Ayrıca Bakınız

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