ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1OrderedSet Class / Remove Method / Remove(Int32) Method
The object to remove from the ICollection.



In This Topic
    Remove(Int32) Method
    In This Topic
    Removes the first occurrence of a specific object from the ICollection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Remove( _
       ByVal item As Integer _
    ) As Boolean
    'Usage
     
    
    Dim instance As C1OrderedSet
    Dim item As Integer
    Dim value As Boolean
     
    value = instance.Remove(item)
    public bool Remove( 
       int item
    )
    public:
    bool Remove( 
       int item
    ) 

    Parameters

    item
    The object to remove from the ICollection.

    Return Value

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