## Directory::GetParent method


지정된 엔터티의 상위 디렉터리를 나타내는 [DirectoryInfo](../../directoryinfo/) 객체에 대한 공유 포인터를 반환합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| 경로 | const String\& | 상위 디렉터리를 가져올 엔터티의 경로 |

### ReturnValue

**path** 로 지정된 엔터티의 상위 디렉터리를 나타내는 [DirectoryInfo](../../directoryinfo/) 객체에 대한 공유 포인터

## 또 보기

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