Retrieves the parent directory of a subdirectory.
[Visual Basic] Public ReadOnly Property Parent As Directory [C#] public Directory Parent {get;} [C++] public: __property Directory* get_Parent(); [JScript] public function get Parent() : Directory;
A Directory object representing the parent directory, or a null reference (in Visual Basic Nothing) if the path is null or if the file path denotes a root (such as "\", "C:", or * "\\server\share").