ValidatorCollection.Contains Method (IValidator)
.NET Framework (current version)
Determines whether the specified validation server control is contained within the page's ValidatorCollection collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- validator
-
Type:
System.Web.UI.IValidator
The validation server control to check for.
Return Value
Type: System.Booleantrue if the validation server control is in the collection; otherwise, false.
.NET Framework
Available since 1.1
Available since 1.1
Show: