## Path::GetExtension method


Returns the extension of the file referenced by the specified path.

```cpp
static String System::IO::Path::GetExtension(const String &path)
```


| Parameter | Type | Description |
| --- | --- | --- |
| path | const String\& | A path to a file |

### ReturnValue

The extension of the file

## See Also

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