PocketPlanner Programmer's Guide

Recurrence.SaveTo Method (XmlElement, XmlSerializationContext)

See Also

Saves the recurrence data to an XML document.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public void SaveTo (
    XmlElement element,
    XmlSerializationContext context
)

Visual Basic

Public 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

The recurrence properties are saved as elements of an XML document, and can be later restored using the LoadFrom method.

 See Also