TreeView for WinForms | ComponentOne
C1.Framework Namespace / ElementList Class / Reverse Method / Reverse(Int32,Int32) Method
The zero-based starting index of the range to reverse.
The number of elements in the range to reverse.

In This Topic
    Reverse(Int32,Int32) Method
    In This Topic
    Reverses the order of the elements in the specified range.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Sub Reverse( _
       ByVal index As Integer, _
       ByVal count As Integer _
    ) 
    public override void Reverse( 
       int index,
       int count
    )

    Parameters

    index
    The zero-based starting index of the range to reverse.
    count
    The number of elements in the range to reverse.
    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.
    See Also