UserControl.Validate Method
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

UserControl.Validate Method

Evaluates specified validators and returns True if all of them are valid.

[Visual Basic]
Public Sub Validate( _
   ByVal validationContext As Object, _
   ParamArray validators As IValidator _
public bool Validate(
   object validationContext,
   params IValidator[] validators


Object to validate.
Validators to evaluate.

Return Value

True if all of the specified validators are valid, False otherwise.


Each validator can itself represent a collection of other validators if it is an instance of ValidatorGroup or one of its derived types.

Please see the Validation Framework section in the documentation for more info.

See Also

UserControl Class | Spring.Web.UI Namespace