FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / ValidationRuleCollection Class / IndexOf Method
The object to locate in the ValidationRuleCollection.

In This Topic
    IndexOf Method (ValidationRuleCollection)
    In This Topic
    Determines the index of a specific ValidationRule> in the ValidationRuleCollection.
    Syntax
    '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.
    See Also