PocketPlanner Programmer's Guide

Contact.LoadFrom Method (XmlReader, SerializationContext)

See Also

Loads contact data from an XML document.

 Since version 4.4, this method is considered obsolete. Instead, use the LoadFrom method.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public override void LoadFrom (
    XmlReader reader,
    SerializationContext context
)

Visual Basic

Public Overrides Sub LoadFrom ( _
    reader As XmlReader, _
    context As SerializationContext _
)

 Parameters

reader
Allows reading data from the XML document.
context
The context object contains the file format revision number of the schedule being loaded. It also allows getting locations, contacts and tasks by their string identifiers.

 Remarks

The reader parameter wraps an XML document that contains data stored by a previous call to the SaveTo method. Both methods are used internally by the serialization methods of the Schedule class.

 See Also