[]
The AppointmentList is a sortable collection of Appointment objects.
public class AppointmentList : Collection<Appointment>, IList<Appointment>, ICollection<Appointment>, IList, ICollection, IReadOnlyList<Appointment>, IReadOnlyCollection<Appointment>, IEnumerable<Appointment>, IEnumerable
Public Class AppointmentList
Inherits Collection(Of Appointment)
Implements IList(Of Appointment), ICollection(Of Appointment), IList, ICollection, IReadOnlyList(Of Appointment), IReadOnlyCollection(Of Appointment), IEnumerable(Of Appointment), IEnumerable
The AppointmentList is not guaranteed to be sorted. You must sort the AppointmentList before performing operations that require the AppointmentList to be sorted.
| Name | Description |
|---|---|
| AppointmentList(AppointmentCollection) | Initializes the new instance of the AppointmentList class. |
| Name | Description |
|---|---|
| Sort() | Sorts the elements in the entire AppointmentList using the default comparer (by the Appointment.Start value). |
| Sort(IComparer<Appointment>) | Sorts the elements in the entire AppointmentList using the specified comparer. |
| Sort(Comparison<Appointment>) | Sorts the elements in the entire AppointmentList using the specified System.Comparison. |
| Sort(int, int, IComparer<Appointment>) | Sorts the elements in a range of elements in AppointmentList using the specified comparer. |