Sorts the elements in a range of elements in AppointmentList using
the specified comparer.
Namespace:
C1.C1ScheduleAssembly: C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)
Syntax
C# |
---|
public void Sort( int index, int count, IComparer<Appointment> comparer ) |
Visual Basic |
---|
Public Sub Sort ( _ index As Integer, _ count As Integer, _ comparer As IComparer(Of Appointment) _ ) |
Parameters
- index
- Type: System..::..Int32
The zero-based starting index of the range to sort.
- count
- Type: System..::..Int32
The length of the range to sort.
- comparer
- Type: System.Collections.Generic..::..IComparer<(Of <(<'Appointment>)>)>
The IComparer{Appointment} implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer.