Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.5.2 Assembly / C1.C1Schedule Namespace / AppointmentList Class / Sort Method / Sort(Int32,Int32,IComparer<Appointment>) Method
The zero-based starting index of the range to sort.
The length of the range to sort.
The IComparer{Appointment} implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer.

In This Topic
    Sort(Int32,Int32,IComparer<Appointment>) Method
    In This Topic
    Sorts the elements in a range of elements in AppointmentList using the specified comparer.
    Syntax
    'Declaration
     
    Public Overloads Sub Sort( _
       ByVal index As System.Integer, _
       ByVal count As System.Integer, _
       ByVal comparer As System.Collections.Generic.IComparer(Of Appointment) _
    ) 
    public void Sort( 
       System.int index,
       System.int count,
       System.Collections.Generic.IComparer<Appointment> comparer
    )

    Parameters

    index
    The zero-based starting index of the range to sort.
    count
    The length of the range to sort.
    comparer
    The IComparer{Appointment} implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer.
    See Also