KaxSchedulerUpdateAppointment Method (Appointment) |
Updates the specified appointment and persists the changes through the provider.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic void UpdateAppointment(
Appointment appointmentToUpdate
)
Public Sub UpdateAppointment (
appointmentToUpdate As Appointment
)
public:
void UpdateAppointment(
Appointment^ appointmentToUpdate
)
member UpdateAppointment :
appointmentToUpdate : Appointment -> unit
Parameters
- appointmentToUpdate
- Type: Kettic.AspNet.ControlsAppointment
The appointment to update.
Remarks
This method can be used, along with
PrepareToEdit
to create and persist a recurrence exceptions.
ExamplesAppointment occurrence = KaxScheduler1.Appointments[0];
Appointment recurrenceException = KaxScheduler1.PrepareToEdit(occurrence, false);
recurrenceException.Subject = "This is a recurrence exception";
KaxScheduler1.UpdateAppointment(recurrenceException);
Dim occurrence As Appointment = KaxScheduler1.Appointments(0)
Dim recurrenceException as Appointment = KaxScheduler1.PrepareToEdit(occurrence, False)
recurrenceException.Subject = "This is a recurrence exception"
KaxScheduler1.UpdateAppointment(recurrenceException)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also