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


Belirtilen hedef dosyanın içeriğini, mevcut [FileInfo](../) nesnesi tarafından temsil edilen dosyayla 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)
```


| Parametre | Tür | 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.Font for C++](../../../)
## FileInfo::Replace(const String\&, const String\&, bool) method


Belirtilen hedef dosyanın içeriğini, mevcut [FileInfo](../) nesnesi tarafından temsil edilen dosyayla 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)
```


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| destinationFileName | const String\& | Değiştirilecek dosyanın adı |
| destinationBackupFileName | const String\& | Yedek dosyanın adı |
| ignoreMetadataErrors | bool | Değiştirilen dosyadan yeni dosyaya birleştirme hatalarının (true) göz ardı edilip edilmeyeceğini, (false) ise göz ardı edilmemesini 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.Font for C++](../../../)
