Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight 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
    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