Skip to main content
A newer version of this page is available. .

AppointmentDataStorage Methods

A storage that holds a collection of appointments.
Name Description
Add(Appointment) Appends the specified Appointment object to the collection which can be accessed via the storage’s AppointmentDataStorage.Items property.
Add(AppointmentType, DateTime, DateTime, String) Adds a new appointment with specific properties to this AppointmentDataStorage.
Add(AppointmentType, DateTime, DateTime) Adds a new appointment with specific properties to this AppointmentDataStorage.
Add(AppointmentType, DateTime, TimeSpan, String) Adds a new appointment with specific properties to this AppointmentDataStorage.
Add(AppointmentType, DateTime, TimeSpan) Adds a new appointment with specific properties to this AppointmentDataStorage.
AddRange(Appointment[]) Appends an array of appointments to the storage’s collection.
AddRange(IEnumerable<Appointment>) Adds an collection of appointments to the storage’s collection.
Clear() Removes all appointments from this AppointmentDataStorage.
Contains(Appointment) Determines whether or not the storage contains the specified appointment.
CreateAppointment(AppointmentType, DateTime, DateTime, String) Creates an appointment of the specified type with the specified start time, end time and a subject.
CreateAppointment(AppointmentType, DateTime, DateTime) Creates an appointment of the specified type with the specified start and end time.
CreateAppointment(AppointmentType, DateTime, TimeSpan, String) Creates an appointment of the specified type with the specified start time, duration and a subject.
CreateAppointment(AppointmentType, DateTime, TimeSpan) Creates an appointment of the specified type with the specified start time and duration.
CreateAppointment(AppointmentType) Creates an appointment of the specified type.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetAppointmentById(Object) Gets the appointment by its identifier.
GetColumnNames() Returns names of data fields that belong to this AppointmentDataStorage‘s data source.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetObjectRow(Appointment) Returns the data source record (row) associated with the specific appointment.
GetType() Gets the Type of the current instance. Inherited from Object.
IsNewAppointment(Appointment)
LoadFromXml(Stream) Loads settings of appointments from the specified stream to the appointment storage.
LoadFromXml(String) Loads settings of appointments from the specified XML file to the appointment storage.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ReloadData() Reloads the AppointmentDataStorage data from an external source.
Remove(Appointment) Removes the specified Appointment object from the collection.
SaveToXml(Stream) Saves appointments from the storage to the specified stream.
SaveToXml(String) Saves appointments from the storage to an XML file.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also