RequestFieldValidatorBase.IsValid Method

Returns a value that indicates whether the specified value is valid.

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

Syntax

'Declaration
Protected MustOverride Function IsValid ( _
    httpContext As HttpContextBase, _
    value As String _
) As Boolean
'Usage
Dim httpContext As HttpContextBase 
Dim value As String 
Dim returnValue As Boolean 

returnValue = Me.IsValid(httpContext, _
    value)
protected abstract bool IsValid(
    HttpContextBase httpContext,
    string value
)
protected:
virtual bool IsValid(
    HttpContextBase^ httpContext, 
    String^ value
) abstract
abstract IsValid : 
        httpContext:HttpContextBase * 
        value:string -> bool
protected abstract function IsValid(
    httpContext : HttpContextBase, 
    value : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the value is valid; otherwise, false.

See Also

Reference

RequestFieldValidatorBase Class

System.Web.WebPages Namespace