ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid 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