'Declaration Public Function IndexOf( _ ByVal item As ValidationRule _ ) As Integer
public int IndexOf( ValidationRule item )
Parameters
- item
- The object to locate in the ValidationRuleCollection.
Return Value
The index of item if found in the list; otherwise, -1.