📚 SAP Business One SDK Help

ReadXml Method
See Also 
XmlFileStr
Specifies the XML file name or the XML content string depending on the value of the XMLAsString property.
Index
Specifies the number of the object that you want to read from the XML data (starts from 0).

Description

Browses XML formatted data and enables to update the data.

Syntax

Visual Basic
Public Sub ReadXml( _
   ByVal XmlFileStr As String, _
   ByVal Index As Long _
) 

Parameters

XmlFileStr
Specifies the XML file name or the XML content string depending on the value of the XMLAsString property.
Index
Specifies the number of the object that you want to read from the XML data (starts from 0).

Remarks

The default setting of XmlExportType property is xet_AllNodes (0). This setting supports older DI API versions but cannot be read using the ReadXML method.

To use ReadXML method, set the XmlExportType to xet_ExportImportMode (3).

See Also