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

오류 메시지를 포함하는 문자열입니다.

반품

제어 값이 유효하면 불 값이고, TrueFalse 그렇지 않으면

적용 대상