## Path::IsPathRooted method


Determines if the specified path contains a root.

```cpp
static bool System::IO::Path::IsPathRooted(const String &path)
```


| Parameter | Type | Description |
| --- | --- | --- |
| path | const String\& | A path to check |

### ReturnValue

True if **path** contains a root, otherwise - false

## See Also

* Class [String](../../../system/string/)
* Class [Path](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
