Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ConditionalFormatting Class / Remove Method / Remove(IConditionalFormattingRule) Method
The object to remove from the ICollection object.


In This Topic
    Remove(IConditionalFormattingRule) Method
    In This Topic
    Removes the first occurrence of a specific object from the ICollection collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Remove( _
       ByVal item As IConditionalFormattingRule _
    ) As Boolean
    'Usage
     
    
    Dim instance As ConditionalFormatting
    Dim item As IConditionalFormattingRule
    Dim value As Boolean
     
    value = instance.Remove(item)

    Parameters

    item
    The object to remove from the ICollection object.

    Return Value

    true if item was successfully removed from the ICollection object; otherwise, false. This method also returns false if item is not found in the original ICollection object.
    Exceptions
    ExceptionDescription
    The ICollection object is read-only.
    See Also