DriveInfo.RootDirectory Property

Definition

Gets the root directory of a drive.

public:
 property System::IO::DirectoryInfo ^ RootDirectory { System::IO::DirectoryInfo ^ get(); };
public System.IO.DirectoryInfo RootDirectory { get; }
member this.RootDirectory : System.IO.DirectoryInfo
Public ReadOnly Property RootDirectory As DirectoryInfo

Property Value

An object that contains the root directory of the drive.

Applies to