DirectoryInfoParent Property |
Gets the parent directory of a specified subdirectory.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public DirectoryInfo Parent { get; }
Public ReadOnly Property Parent As DirectoryInfo
Get
public:
property DirectoryInfo^ Parent {
DirectoryInfo^ get ();
}
member Parent : DirectoryInfo with get
Property Value
Type:
DirectoryInfoThe parent directory, or null if the path is null or if the file path denotes a root (such as "\", "C:", or * "\\server\share").
See Also