MindFusion.Wpf Pack Programmer's Guide
Resource.SaveTo Method (XElement, XmlSerializationContext)
See Also
 





Saves the resource data to an XML document.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.Wpf

 Syntax

C#  Copy Code

public virtual void SaveTo (
    XElement element,
    XmlSerializationContext context
)

Visual Basic  Copy Code

Public Overridable 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 resource properties as elements of an XML document.

 See Also

Resource Members
Resource Class
MindFusion.Scheduling Namespace
LoadFrom Method