[]
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 |
---|---|
ParentStorage | Gets the reference to the owning AppointmentStorage 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. |
RemoveItem(int) | Overrides the default behavior. |
SetItem(int, Appointment) | Overrides the default behavior. |