Click or drag to resize

FileInfoDirectory Property

Gets an instance of the parent directory.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public DirectoryInfo Directory { get; }

Property Value

Type: DirectoryInfo
A DirectoryInfo object representing the parent directory of this file.
Exceptions
ExceptionCondition
DirectoryNotFoundException
Remarks
To get the parent directory as a string, use the DirectoryName property.
See Also