Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.5.2 Assembly / C1.C1Schedule Namespace / AppointmentList Class / Sort Method / Sort(IComparer<Appointment>) Method
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(IComparer<Appointment>) Method
    In This Topic
    Sorts the elements in the entire AppointmentList using the specified comparer.
    Syntax
    'Declaration
     
    Public Overloads Sub Sort( _
       ByVal comparer As System.Collections.Generic.IComparer(Of Appointment) _
    ) 
    public void Sort( 
       System.Collections.Generic.IComparer<Appointment> comparer
    )

    Parameters

    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