| System.Web.UI (system.web.dll) | sealed class |
This class contains a collection of validation controls (controls
that implement IValidator, usually by deriving
from System.Web.UI.WebControls.BaseValidator). It
is used for the Page.Validators property, which
provides a collection of all validation controls on a Web Forms page.
For more information about validation controls, refer to the
System.Web.UI.WebControls namespace.
public sealed class ValidatorCollection : ICollection, IEnumerable {
// Public Constructors
public
ValidatorCollection ( );
// Public Instance Properties
public int
Count {get; } // implements ICollection
public bool
IsReadOnly {get; }
public bool
IsSynchronized {get; } // implements ICollection
public object
SyncRoot {get; } // implements ICollection
public IValidator
this [int
index ]{get; }
// Public Instance Methods
public void
Add (IValidator
validator );
public bool
Contains (IValidator
validator );
public void
CopyTo (Array
array , int
index ); // implements ICollection
public IEnumerator
GetEnumerator ( ); // implements IEnumerable
public void
Remove (IValidator
validator );
}
Returned By
Page.Validators