Export (0) Print
Expand All

RequestFieldValidatorBase Class

Serves as the abstract base class for the validation helper classes.

System.Object
  System.Web.WebPages.RequestFieldValidatorBase

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public abstract class RequestFieldValidatorBase : IValidator

The RequestFieldValidatorBase type exposes the following members.

  NameDescription
Protected methodRequestFieldValidatorBase(String)Initializes a new instance of the derived class and specifies the name of the HTML element that is being validated.
Protected methodRequestFieldValidatorBase(String, Boolean)Initializes a new instance of the derived class, registers the specified string as the error message to display if no value is supplied, and specifies whether the method can use unvalidated data.
Top

  NameDescription
Public propertyClientValidationRuleWhen implemented in a derived class, gets a container for client validation for the required field.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Protected methodStatic memberGetHttpContextReturns the HTTP context of the current request.
Protected methodGetRequestValueReturns the value to validate.
Public methodGetType (Inherited from Object.)
Protected methodIsValidReturns a value that indicates whether the specified value is valid.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodValidatePerforms the validation test.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft