Description
Receives and processes the XML content.
You can remove sub-object lines from the Items object via the XML file.
Syntax
| Visual Basic |
|---|
Public Function UpdateFromXML( _
ByVal FileName As String _
) As Long |
Parameters
Example
| Sample code (C#) | Copy Code |
|---|
vComp.XmlExportType = BoXmlExportTypes.xet_ExportImportMode; Items myitems = (Items)vComp.GetBusinessObject(BoObjectTypes.oItems); //save an item to XML myitems.GetByKey("item0"); myitems.SaveXML(@"C:\Test\mytest1.xml"); //Delete sub line directly from C:\Test\mytest1.xml by manual //Update the item myitems.UpdateFromXML(@"C:\Test\mytest1.xml"); |
|
See Also