Saves the object data to XML formatted data.
Saves the object data to XML formatted data.
| Visual Basic |
|---|
Public Sub SaveXML( _ ByRef pbstrFileName As String _ ) |
Specifies the path and file name of the XML data.
You can use this method to save a business object to an XML file. Then, call the GetBusinessObjectFromXML method to load this object into memory again, for example, to copy customers from one database to another. To enable this operation, set the XmlExportType property of the Company object to xet_ValidNodesOnly.
To use ReadXML method, set the XmlExportType to xet_ExportImportMode (3).
For more information, see Exchanging Data Using the DI API XML Capabilities.
| Invoice Document - SaveXML Method Sample (Visual Basic) | ||
|---|---|---|
| ||