System.IO.FileInfo.Directory Property

Gets an instance of the parent directory.

Syntax

public DirectoryInfo Directory { get; }

Value

Documentation for this section has not yet been entered.

Remarks

To get the parent directory as a string, use the FileInfo.DirectoryName property.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0