DriveListBox.Drive 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
執行時取得或設定所選磁碟。
public:
property System::String ^ Drive { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public string Drive { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Drive : string with get, set
Public Property Drive As String
屬性值
一個 String 指定所選硬碟的表達式。
- 屬性
備註
該屬性的 Drive 有效磁碟機包括在執行時建立或刷新控制項時,系統中存在或連接的所有磁碟機。 屬性的 Drive 預設設定是目前的硬碟。
Note
命名空間中的 Microsoft.VisualBasic.Compatibility.VB6 函式與物件提供給從 Visual Basic 6.0 升級到 Visual Basic 的工具使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。