Name
ServerValidateEventArgs
Synopsis
This derived System.EventArgs
class is used for the CustomValidator.ServerValidate
event. This
class provides a Value
property,
which specifies the value that needs to be examined, and an IsValid
property, which the event handling code sets to indicate whether the value is valid
(True
) or invalid (False
).
Public NotInheritable Class ServerValidateEventArgs : Inherits EventArgs ' Public Constructors Public Sub New(ByVal value As String, ByVal isValid As Boolean) ' Public Instance Properties Public Property IsValid As Boolean Public ReadOnly Property Value As String End Class
Hierarchy
System.Object→System.EventArgs→ ServerValidateEventArgs
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.