## DirectoryInfo::get_Parent method


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

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

## See Also

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