BaseValidator.EvaluateIsValid Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, this method contains the code to determine whether the value in the input control is valid.
protected:
abstract bool EvaluateIsValid();
protected abstract bool EvaluateIsValid ();
abstract member EvaluateIsValid : unit -> bool
Protected MustOverride Function EvaluateIsValid () As Boolean
Returns
true
if the value in the input control is valid; otherwise, false
.
Remarks
Use the EvaluateIsValid method to determine whether the value in the input control specified by the ControlToValidate property is valid.
Note
This method is used primarily by control developers.
Notes to Implementers
You must implement this method in a derived class to return whether the value in the input control is valid.