Search
Task.SaveTo Method (XElement, XmlSerializationContext)
See Also
 






Saves the task data to an XML document.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public override void SaveTo (
    XElement element,
    XmlSerializationContext context
)

Visual Basic  Copy Code

Public Overrides Sub SaveTo( _
    element As XElement, _
    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 task properties as elements in an XML document. Later they can be restored via the LoadFrom method.

 See Also