次の方法で共有


ComboBox.MaxLength プロパティ

コンボ ボックスの編集できる部分に入力できる最大文字数を取得または設定します。

Public Property MaxLength As Integer
[C#]
public int MaxLength {get; set;}
[C++]
public: __property int get_MaxLength();public: __property void set_MaxLength(int);
[JScript]
public function get MaxLength() : int;public function set MaxLength(int);

プロパティ値

ユーザーが入力できる最大文字数。0 未満の値は、0 にリセットされます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

ComboBox クラス | ComboBox メンバ | System.Windows.Forms 名前空間