System::IO::Directory::GetParent method

Directory::GetParent method

Returns a shared pointer to DirectoryInfo object representing the parent directory of the specified entity.

static DirectoryInfoPtr System::IO::Directory::GetParent(const String &path)
ParameterTypeDescription
pathconst String&The path to the entity whose parent is to be obtained

ReturnValue

A shared pointer to DirectoryInfo object representing the parent directory of the entity specified by path

See Also