다음을 통해 공유


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입니다.

적용 대상