IAppointmentStorageBase.CreateAppointment(AppointmentType) Method
Creates a new appointment of the specified type.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateAppointment(AppointmentType) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.