A newer version of this page is available. Switch to the current version.

IAppointmentStorageBase.CreateAppointment(AppointmentType, DateTime, DateTime) Method

Creates an appointment of the specified type with the specified start and end time.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll


Appointment CreateAppointment(
    AppointmentType type,
    DateTime start,
    DateTime end


Name Type Description
type AppointmentType

An AppointmentType enumeration value specifying the type of the created appointment.

start DateTime

A DateTime object specifying the appointment start - the value of the Appointment.Start property.

end DateTime

A DateTime object specifying the appointment end - the value of the Appointment.End property.


Type Description

A newly created Appointment object.

See Also