## Path::GetPathRoot method


指定されたパスのルートディレクトリを返します。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| パス | const String\& | ルートを取得する対象のパス |

### ReturnValue

**path** のルートディレクトリ

## 参照

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