IAppointmentStorageBase.CreateAppointment(AppointmentType) Method
Creates a new appointment of the specified type.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v21.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
Declaration
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