FileInfoDirectory Property |
Gets an instance of the parent directory.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public DirectoryInfo Directory { get; }
Public ReadOnly Property Directory As DirectoryInfo
Get
public:
property DirectoryInfo^ Directory {
DirectoryInfo^ get ();
}
member Directory : DirectoryInfo with get
Property Value
Type:
DirectoryInfoA
DirectoryInfo object representing the parent directory of this file.
Exceptions Remarks To get the parent directory as a string, use the DirectoryName property.
See Also