語言

DriveListBox.MaxLength 屬性

定義

取得或設定一個值,指定在 中顯示 DriveListBox的文字最大長度。

public:
 property int MaxLength { int get(); void set(int value); };
[System.ComponentModel.Browsable(false)]
public int MaxLength { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.MaxLength : int with get, set
Public Property MaxLength As Integer

屬性值

一個 Integer 指定該性質最大長度 Drive 的

屬性

備註

使用此特性限制使用者可輸入的 DriveListBox文字長度。

Note

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

適用於

另請參閱