## Directory::GetDirectoryRoot method


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

```cpp
static String System::IO::Directory::GetDirectoryRoot(const String &path)
```


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

### ReturnValue

**path** におけるルートディレクトリの名前

## 参照

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