## Path::HasExtension method


Determines if the specified path references a file with extension.

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


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

### ReturnValue

True if **path** references a file with extension, otherwise - false

## See Also

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