[]
Sorts the elements in the entire AppointmentList using the default comparer (by the Appointment.Start value).
public void Sort()
Public Sub Sort()
Sorts the elements in the entire AppointmentList using the specified System.Comparison.
public void Sort(Comparison<Appointment> comparison)
Public Sub Sort(comparison As Comparison(Of Appointment))
| 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)
Public Sub Sort(comparer As IComparer(Of Appointment))
| 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)
Public Sub Sort(index As Integer, count As Integer, comparer As IComparer(Of Appointment))
| 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. |