MindFusion.Scheduling for JavaScript Programmer's Guide
Contact.saveToXml Method
See Also
 






Saves the contact content into an XML element.

Namespace: MindFusion.Scheduling
Assembly: Contact.js

 Syntax

JavaScript  Copy Code

function saveToXml (element, context)

 Parameters

element

Element. An XML DOM element that will contain the contact's data.

context

XmlPersistContext. An object providing contextual information about the serialization process and some helper serialization methods.

 Example

The following code gets the XML representation of a contact.

JavaScript  Copy Code
var xmldoc = contact.saveToXml();

 See Also

Contact Members
Contact Class
MindFusion.Scheduling Namespace