NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Directory.Parent

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;

Property Value

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").

See Also

Directory Class | Directory Members | System.IO Namespace