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();

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.

Uwaga

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

Produkt Wersje
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also