Syntax

Remarks

Use the ToXml method to serialize an appointment, and the ObjectFromXml method to de-serialize it.

Example

The code sample demonstrates how to serialize an appointment, i.e., to create an XML string which is used to store an appointment in the data source bound to the scheduler. The resulting string is displayed as an appointment's description.

SchedulerCompatibility.Base64XmlObjectSerialization = True
For Each apt As Appointment In scheduler.ActiveView.GetAppointments()
Dim helper As New AppointmentXmlPersistenceHelper(apt, Nothing)
apt.Description = helper.ToXml()
Next apt