DriveInfo.RootDirectory DriveInfo.RootDirectory DriveInfo.RootDirectory DriveInfo.RootDirectory Property

定義

取得磁碟的根目錄。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

屬性值

包含磁碟機根目錄的物件。An object that contains the root directory of the drive.

適用於