DriveInfo.RootDirectory 属性

定义

获取驱动器的根目录。

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

属性值

包含驱动器根目录的对象。

适用于