[]
Sorts the elements in the entire AppointmentList using the default comparer (by the Appointment.Start value).
public void Sort()
Sorts the elements in the entire AppointmentList using the specified System.Comparison.
public void Sort(Comparison<Appointment> comparison)
Type | Name | Description |
---|---|---|
Comparison<Appointment> | comparison | The Comparison<T> to use when comparing elements. |
Sorts the elements in the entire AppointmentList using the specified comparer.
public void Sort(IComparer<Appointment> comparer)
Type | Name | Description |
---|---|---|
IComparer<Appointment> | comparer | The IComparer{Appointment} implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer. |
Sorts the elements in a range of elements in AppointmentList using the specified comparer.
public void Sort(int index, int count, IComparer<Appointment> comparer)
Type | Name | Description |
---|---|---|
int | index | The zero-based starting index of the range to sort. |
int | count | The length of the range to sort. |
IComparer<Appointment> | comparer | The IComparer{Appointment} implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer. |