Root Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the root portion of the directory.

Namespace:  System.IO
Assembly:  System.IO (in System.IO.dll)

public DirectoryInfo Root { get; }

Property Value

Type: System.IO..::..DirectoryInfo
An object that represents the root of the directory.

Show: