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 | |
---|---|---|
RequestFieldValidatorBase(String) | Initializes a new instance of the derived class and specifies the name of the HTML element that is being validated. | |
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 | |
---|---|---|
ClientValidationRule | When implemented in a derived class, gets a container for client validation for the required field. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetHttpContext | Returns the HTTP context of the current request. | |
GetRequestValue | Returns the value to validate. | |
GetType | (Inherited from Object.) | |
IsValid | Returns a value that indicates whether the specified value is valid. | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
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.