Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- httpContext
Type: System.Web.HttpContextBase
The current context.
- value
Type: System.String
The value to validate.
Return Value
Type: System.Boolean
true if the value is valid; otherwise, false.