Redigera

Dela via


BaseValidator.EvaluateIsValid Method

Definition

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.

Applies to

See also