## Path::ChangeExtension method


Modifie l'extension dans le chemin de fichier spécifié.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| chemin | const String\& | Un chemin de fichier |
| extension | const String\& | L'extension avec laquelle remplacer celle de **path** |

### ReturnValue

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

## Voir aussi

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