RequestFieldValidatorBase Class

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

Inheritance Hierarchy

System.Object
  System.Web.WebPages.RequestFieldValidatorBase

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

Syntax

'Declaration
Public MustInherit Class RequestFieldValidatorBase _
    Implements IValidator
'Usage
Dim instance As RequestFieldValidatorBase
public abstract class RequestFieldValidatorBase : IValidator
public ref class RequestFieldValidatorBase abstract : IValidator
[<AbstractClassAttribute>]
type RequestFieldValidatorBase =  
    class 
        interface IValidator 
    end
public abstract class RequestFieldValidatorBase implements IValidator

The RequestFieldValidatorBase type exposes the following members.

Constructors

  Name Description
Protected method RequestFieldValidatorBase(String) Initializes a new instance of the derived class and specifies the name of the HTML element that is being validated.
Protected method RequestFieldValidatorBase(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

Properties

  Name Description
Public property ClientValidationRule When implemented in a derived class, gets a container for client validation for the required field.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected methodStatic member GetHttpContext Returns the HTTP context of the current request.
Protected method GetRequestValue Returns the value to validate.
Public method GetType (Inherited from Object.)
Protected method IsValid Returns a value that indicates whether the specified value is valid.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Validate Performs the validation test.

Top

Thread Safety

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

See Also

Reference

System.Web.WebPages Namespace