Share via


DirectoryInfo.Root Property

Gets the root portion of a path.

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

Syntax

public DirectoryInfo Root { get; }

Property Value

A DirectoryInfo object representing the root of a path.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

DirectoryInfo Class
DirectoryInfo Members
System.IO Namespace