Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RegularExpressionValidator.Validate(Object) Method

Validates an object.

[Visual Basic]
Protected Overrides Overloads Sub Validate( _
   ByVal objectToValidate As Object _
)
[C#]
protected override bool Validate(
   object objectToValidate
);

Parameters

objectToValidate
Object to validate.

Return Value

if the supplied objectToValidate object is valid.

Exceptions

Exception Type Condition
ArgumentException If the supplied objectToValidate is not a String

See Also

RegularExpressionValidator Class | Spring.Validation Namespace | RegularExpressionValidator.Validate Overload List