RangeValidator.ControlPropertiesValid 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.
Determines whether the properties to be validated are valid. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
protected:
override bool ControlPropertiesValid();
protected override bool ControlPropertiesValid ();
override this.ControlPropertiesValid : unit -> bool
Protected Overrides Function ControlPropertiesValid () As Boolean
Returns
true
if the MinimumValue and MaximumValue properties have valid values; otherwise false
.
Exceptions
Either the MinimumValue or MaximumValue properties have invalid types,
-or-
the MinimumValue is larger than MaximumValue.