ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / C1OrderedSet Class / Remove Method / Remove(Int32) Method
The object to remove from the System.Collections.Generic.ICollection`1.

In This Topic
    Remove(Int32) Method
    In This Topic
    Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection`1.
    Syntax
    'Declaration
     
    Public Overloads Function Remove( _
       ByVal item As System.Integer _
    ) As System.Boolean
    public System.bool Remove( 
       System.int item
    )

    Parameters

    item
    The object to remove from the System.Collections.Generic.ICollection`1.

    Return Value

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