ToolsOptionsBaseControl<TOptions>.ValidateNumeric メソッド

定義

与えられた数値コントロールの現在の値を検証し、値が無効であればメッセージを表示します。

protected:
 virtual bool ValidateNumeric(System::Windows::Forms::NumericUpDown ^ numControl, System::String ^ errMessageToShow);
protected virtual bool ValidateNumeric(System.Windows.Forms.NumericUpDown numControl, string errMessageToShow);
abstract member ValidateNumeric : System.Windows.Forms.NumericUpDown * string -> bool
override this.ValidateNumeric : System.Windows.Forms.NumericUpDown * string -> bool
Protected Overridable Function ValidateNumeric (numControl As NumericUpDown, errMessageToShow As String) As Boolean

パラメーター

numControl
NumericUpDown

NumericUpDown オブジェクト。

errMessageToShow
String

エラーメッセージを含む文字列です。

返品

ブール値、 True 制御値が有効であれば、そうでなければ False

適用対象