ToolsOptionsBaseControl<TOptions>.ValidateNumeric 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 숫자 컨트롤의 현재 값에 대해 유효성을 검사하고 값이 잘못된 경우 메시지를 표시합니다.
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입니다.