## Path::ChangeExtension method


يغيّر الامتداد في مسار الملف المحدد.

```cpp
static String System::IO::Path::ChangeExtension(const String &path, const String &extension)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| مسار | const String\& | مسار ملف |
| امتداد | const String\& | الامتداد لاستبدال الامتداد الموجود في **path** |

### ReturnValue

**path** with extension replaced with **extension**

## انظر أيضًا

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