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

IAppointmentStorageBase.CreateAppointment(AppointmentType) Method

Creates a new appointment of the specified type.

Namespace: DevExpress.XtraScheduler

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

Declaration

Appointment CreateAppointment(
    AppointmentType type
)

Parameters

Name Type Description
type AppointmentType

An AppointmentType enumeration member specifying the appointment type.

Returns

Type Description
Appointment

An Appointment object that is the new appointment.

Remarks

The CreateAppointment method uses the Appointment Factory to create an appointment. To specify a custom appointment factory, implement the IAppointmentFactory interface and replace the default factory using the AppointmentStorageBase.SetAppointmentFactory method.

See Also