Search
Contact.saveToXml Method
See Also
 






Saves the contact content into an XML element.

Namespace: MindFusion.Scheduling
File: 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