## Path::ChangeExtension method


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

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


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

### ReturnValue

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

## انظر أيضًا

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