SchedulerStorage.SetAppointmentId(Appointment, Object) Method
Sets the Id property of the specified appointment to a specified value.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
Declaration
public virtual void SetAppointmentId(
Appointment apt,
object id
)
Public Overridable Sub SetAppointmentId(
apt As Appointment,
id As Object
)
Parameters
| Name | Type | Description |
|---|---|---|
| apt | Appointment | An Appointment object. |
| id | Object | An object that is the appointment identifier to assign. |
Remarks
The SetAppointmentId method can used to assign the appointment identifier after the newly created appointment is committed to the data source. Handle the SchedulerStorage.AppointmentsInserted event to set the Appointment.Id property of the currently inserted appointment using the SetAppointmentId method.
See Also