An NDoc Documented Class Library

BaseValidatorCollection.IndexOf Method 

Returns the zero-based index of the first occurrence of a BaseValidator in the BaseValidatorCollection.

public virtual int IndexOf(
   BaseValidator item
);

Parameters

item
The BaseValidator to locate in the BaseValidatorCollection.

Return Value

The zero-based index of the first occurrence of item in the entire BaseValidatorCollection, if found; otherwise, -1.

See Also

BaseValidatorCollection Class | BaseValidatorCollection Members | Genghis.Windows.Forms Namespace