Ribbon for WinForms | ComponentOne
C1.Framework Namespace / ElementList Class / RemoveRange Method
The zero-based starting index of the range of elements to remove.
The number of elements to remove.

In This Topic
    RemoveRange Method (ElementList)
    In This Topic
    Removes a range of elements from the System.Collections.ArrayList.
    Syntax
    'Declaration
     
    
    Public Overrides Sub RemoveRange( _
       ByVal index As Integer, _
       ByVal count As Integer _
    ) 
    public override void RemoveRange( 
       int index,
       int count
    )

    Parameters

    index
    The zero-based starting index of the range of elements to remove.
    count
    The number of elements to remove.
    Exceptions
    ExceptionDescription
    index is less than zero. -or- count is less than zero.
    index and count do not denote a valid range of elements in the System.Collections.ArrayList.
    The System.Collections.ArrayList is read-only. -or- The System.Collections.ArrayList has a fixed size.
    See Also