ComboBox.MaxLength 屬性

定義

取得或設定使用者可以在 ComboBox 中輸入的字元數。

public:
 property int MaxLength { int get(); void set(int value); };
public int MaxLength { get; set; }
member this.MaxLength : int with get, set
Public Property MaxLength As Integer

屬性值

Int32

使用者可以輸入的最大字元數。 小於零的值會重設為零 (亦即預設值)。

適用於