BaseValidator.CreateWebValidator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Virtual method for derived class to create its own aggregated Web validator. The Web validator is for getting and setting of the common properties of Web base validator. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
protected:
virtual System::Web::UI::WebControls::BaseValidator ^ CreateWebValidator();
protected virtual System.Web.UI.WebControls.BaseValidator CreateWebValidator ();
abstract member CreateWebValidator : unit -> System.Web.UI.WebControls.BaseValidator
override this.CreateWebValidator : unit -> System.Web.UI.WebControls.BaseValidator
Protected Overridable Function CreateWebValidator () As BaseValidator
Returns
An aggregated Web validator.
Remarks
Creates and returns the corresponding Web Controls validator object. The default implementation of this method in a BaseValidator object returns null.