Export (0) Print
Expand All

Validator Methods

The Validator type exposes the following members.

  NameDescription
Public method Static member DateTime Defines a validation test that tests whether a value can be treated as a date/time value.
Public method Static 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 method Static member EqualsTo Defines a validation test that test user input against the value of another field.
Protected method Finalize (Inherited from Object.)
Public method Static 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 method Static member Integer Defines a validation test that tests whether a value can be treated as an integer.
Protected method MemberwiseClone (Inherited from Object.)
Public method Static member Range(Double, Double, String) Defines a validation test that tests whether a decimal number falls within a specific range.
Public method Static member Range(Int32, Int32, String) Defines a validation test that tests whether an integer value falls within a specific range.
Public method Static member Regex Defines a validation test that tests a value against a pattern specified as a regular expression.
Public method Static member Required Defines a validation test that tests whether a value has been provided.
Public method Static member StringLength Defines a validation test that tests the length of a string.
Public method ToString (Inherited from Object.)
Public method Static member Url Defines a validation test that tests whether a value is a well-formed URL.
Top
Show:
© 2014 Microsoft