Validator Methods

Include Protected Members
Include Inherited Members

The Validator type exposes the following members.

Methods

  Name Description
Public methodStatic member DateTime Defines a validation test that tests whether a value can be treated as a date/time value.
Public methodStatic member Decimal Defines a validation test that tests whether a value can be treated as a decimal number.
Public method Equals (Inherited from Object.)
Public methodStatic member EqualsTo Defines a validation test that test user input against the value of another field.
Protected method Finalize (Inherited from Object.)
Public methodStatic member Float Defines a validation test that tests whether a value can be treated as a floating-point number.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public methodStatic member Integer Defines a validation test that tests whether a value can be treated as an integer.
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member Range(Double, Double, String) Defines a validation test that tests whether a decimal number falls within a specific range.
Public methodStatic member Range(Int32, Int32, String) Defines a validation test that tests whether an integer value falls within a specific range.
Public methodStatic member Regex Defines a validation test that tests a value against a pattern specified as a regular expression.
Public methodStatic member Required Defines a validation test that tests whether a value has been provided.
Public methodStatic member StringLength Defines a validation test that tests the length of a string.
Public method ToString (Inherited from Object.)
Public methodStatic member Url Defines a validation test that tests whether a value is a well-formed URL.

Top

See Also

Reference

Validator Class

System.Web.WebPages Namespace