BaseValidator.Validate 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.
Performs control validation, and then sets the IsValid property based on the results of the validation. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
virtual void Validate();
public void Validate ();
abstract member Validate : unit -> unit
override this.Validate : unit -> unit
Public Sub Validate ()
Implements
Remarks
The Validate method causes the IsValid property of the control to be set to true
or false
, depending on the outcome of the validation test.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru