共用方式為


DriveListBox.Text 屬性

定義

文字會以 DriveListBox.

public:
 property System::String ^ Text { System::String ^ get(); };
[System.ComponentModel.Browsable(false)]
public string Text { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Text : string
Public ReadOnly Property Text As String

屬性值

String A 包含顯示的文字。

屬性

備註

如果 Text 是有效的磁碟機,屬性的 Text 值與屬性 Drive 相同。

備註

命名空間中的 Microsoft.VisualBasic.Compatibility.VB6 函式與物件提供給從 Visual Basic 6.0 升級到 Visual Basic 的工具使用。 在大多數情況下,這些函式和物件會重複你在 .NET Framework 其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用。

適用於

另請參閱