FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / ValidationRuleCollection Class / Remove Method
The object to remove from the ValidationRuleCollection.

In This Topic
    Remove Method (ValidationRuleCollection)
    In This Topic
    Removes the first occurrence of a specific object from the ValidationRuleCollection.
    Syntax
    'Declaration
     
    
    Public Function Remove( _
       ByVal item As ValidationRule _
    ) As Boolean
    public bool Remove( 
       ValidationRule item
    )

    Parameters

    item
    The object to remove from the ValidationRuleCollection.

    Return Value

    true if item was successfully removed from the ValidationRuleCollection; otherwise, false. This method also returns false if item is not found in the original ValidationRuleCollection.
    See Also