[]
The AppointmentCollection is a collection of all Appointment objects in the C1Schedule component.
public class AppointmentCollection : BaseCollection<Appointment>, IList<Appointment>, ICollection<Appointment>, IList, ICollection, IReadOnlyList<Appointment>, IReadOnlyCollection<Appointment>, IEnumerable<Appointment>, IEnumerable, INotifyCollectionChanged
| Name | Description |
|---|---|
| Actions | Gets the reference to the associated ActionCollection object. |
| CalendarInfo | Gets the reference to the associated CalendarInfo object. |
| Categories | Gets the reference to the associated CategoryCollection object. |
| Contacts | Gets the reference to the associated ContactCollection object. |
| Days | Gets the reference to the associated DayCollection object. |
| Labels | Gets the reference to the associated LabelCollection object. |
| Owners | Gets the reference to the associated ContactCollection object. |
| ParentStorage | Gets the reference to the owning AppointmentStorage object. |
| Reminders | Gets the reference to the associated ReminderCollection object. |
| Resources | Gets the reference to the associated ResourceCollection object. |
| Statuses | Gets the reference to the associated StatusCollection object. |
| Name | Description |
|---|---|
| Add() | Creates the new Appointment object with default settings and adds it to the collection. |
| Add(DateTime, DateTime) | Creates the new Appointment object with specified parameters and adds it to the collection. |
| Add(DateTime, DateTime, string) | Creates the new Appointment object with specified parameters and adds it to the collection. |
| Add(DateTime, TimeSpan) | Creates the new Appointment object with specified parameters and adds it to the collection. |
| Add(DateTime, TimeSpan, string) | Creates the new Appointment object with specified parameters and adds it to the collection. |
| AddRange(Appointment[]) | Adds an array of Appointment objects to the collection. This methods clears collection before adding new items. Don't use it if you want to save previously existed items. |
| ClearItems() | Clears the collection. |
| GetConflicts(Appointment) | Retrieves the AppointmentList object which contains the list of occurrences of Appointment objects which are in conflict with the specified appointment. |
| GetOccurrences(Appointment, DateTime, DateTime) | Retrieves the AppointmentList object which contains the list of occurrences of the specified master appointment in the specified time interval. |
| GetOccurrences(BaseObject, string, DateTime, DateTime, bool) | Retrieves the AppointmentList object which contains the full list of Appointment objects in the specified time interval. |
| GetOccurrences(DateTime, DateTime) | Retrieves the AppointmentList object which contains the full list of Appointment objects in the specified time interval. |
| InsertItem(int, Appointment) | Overrides the default behavior. |
| RefreshData(bool) | Clears collection of days and fills them again honoring changes in system time, appointment collection or appointment properties. |
| RefreshData(DateTime, DateTime) | Refreshed data for all days in the specified interval. |
| RemoveItem(int) | Overrides the default behavior. |
| SetItem(int, Appointment) | Overrides the default behavior. |
| Name | Description |
|---|---|
| AppointmentAdded | Occurs when an appointment was added. |
| AppointmentChanged | Occurs when an appointment was changed. |
| AppointmentCustomAction | Occurs when a custom action of an appointment executes. |
| AppointmentRecurrenceStateChanged | Occurs when RecurrenceState of an appointment is changed. |
| AppointmentRemoved | Occurs when an appointment was removed. |