## DirectoryInfo::get_Root method


Returns a shared pointer to [DirectoryInfo](../) object that represents a path referring the root directory of the directory represented by the current object.

```cpp
DirectoryInfoPtr System::IO::DirectoryInfo::get_Root()
```

## See Also

* Typedef [DirectoryInfoPtr](../../../system/directoryinfoptr/)
* Class [DirectoryInfo](../)
* Namespace [System::IO](../../)
* Library [Aspose.PUB for C++](../../../)
