PocketPlanner Programmer's Guide

Appointment.SaveTo Method (XmlElement, XmlSerializationContext)

See Also

Saves the appointment data to an XML document.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public override void SaveTo (
    XmlElement element,
    XmlSerializationContext context
)

Visual Basic

Public Overrides Sub SaveTo ( _
    element As XmlElement, _
    context As XmlSerializationContext _
)

 Parameters

element
Allows adding data to the XML document.
context
The context object contains the file format revision number of the schedule being loaded. It also provides methods that facilitate reading and writing various data types from and to the XML document.

 Remarks

This method saves the appointment's fields as elements of an XML document, from which they can be loaded later via the LoadFrom method.

 See Also