Skip to main content

Appointment Constructors

An appointment in the scheduler control.
Name Parameters Description
Appointment() none Initializes a new instance of the Appointment class with default settings.
Appointment(AppointmentType) type Initializes a new instance of the Appointment class of the specified type.
Appointment(AppointmentType, DateTime, DateTime) type, start, end Initializes a new instance of the Appointment class with the specified type, start date and end date.
Appointment(AppointmentType, DateTime, DateTime, String) type, start, end, subject Initializes a new instance of the Appointment class with the specified type, start date, end date and subject.
Appointment(AppointmentType, DateTime, TimeSpan) type, start, duration Initializes a new instance of the Appointment class with the specified type, start date, and duration.
Appointment(AppointmentType, DateTime, TimeSpan, String) type, start, duration, subject Initializes a new instance of the Appointment class with the specified type, start date, duration and subject.
Appointment(AppointmentType, DateTime, TimeSpan, String, Object) type, start, duration, subject, id Initializes a new instance of the Appointment class with the specified type, start date, duration, subject and identifier.
Appointment(DateTime, DateTime) start, end Initializes a new instance of the Appointment class with the specified start date and end date.
Appointment(DateTime, DateTime, String) start, end, subject Initializes a new instance of the Appointment class with the specified start date, end date and subject.
Appointment(DateTime, TimeSpan) start, duration Initializes a new instance of the Appointment class with the specified start date and duration.
Appointment(DateTime, TimeSpan, String) start, duration, subject Initializes a new instance of the Appointment class with the specified start date, duration and subject.
See Also