Version

AppointmentVariance Class

Represents an appointment for a specific date and time within a recurring appointment sequence.
Syntax
Remarks

An Appointment object maintains information regarding a task for a particular date and time. The start and end of the appointment are stored in the StartDateTime or EndDateTime respectively. To change the start of the appointment without changing the duration, use the OffsetStartTime method.

The AllDayEvent property may be used to indicate that an Appointment occurs on a day or range of days but is not restricted to a particular time within those days. By default, AllDayEvent appointments are rendered differently than non-AllDayEvent appointments. The appearance of all AllDayEvent type appointments can be adjusted by changing the UltraCalendarLook.AllDayEventAppearance. The UltraCalendarLook.AppointmentAppearance can be used to change the appearance for all appointments. The appearance of an appointment can also be controlled on an individual basis by adjusting its Appointment.Appearance

A new Appointment, can be created by either creating a new instance of an Appointment(SmartDate,SmartDate) and adding it to the WebScheduleInfo.Appointments collection or using the %AppointmentsCollection.Add(SmartDate, SmartDate, string)% method of the collection. An appointment can also be created using the AppointmentDialog. To display the AppointmentDialog for a new appointment, use the %WebScheduleInfo.DisplayAppointmentDialog(SmartDate, SmartDate, bool). The WebScheduleInfo.DisplayAppointmentDialog(Appointment)% overload may be used to display the appointment information for an existing Appointment.

An Appointment can have a Reminder and AppointmentAction associated with it. When the StartDateTime is reached, the Appointment.Reminder will be displayed and the Appointment.Action will be invoked as long as each is enabled.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also