Populates object from an XML string.

Even if this method returns True, the warnings collection may contain items that will prevent this record from saving. Any warnings with a level of 'High' will cause the saving of this object to fail.

Syntax

finClient.FromXmlString(xml, [updateExisting], [ignoreForeignPks], [importOptions], [warnings], [informationImport])

Parameters

NameTypeOptionalByRefDescription
xml String The XML string.
updateExisting Boolean Optional Indicates whether to Update this object without first clearing it. If omitted, a value of False is assumed.
ignoreForeignPks Boolean Optional Indicates whether to ignore Foreign Pks and use IDs instead. This is useful when importing XML into another database. If omitted, a value of False is assumed.
importOptions finImportOptionsClient Optional Import Options or Nothing to use the default Import Options. If omitted, a value of Nothing is assumed.
warnings finWarnings Optional ByRef A collection of Warnings generated whilst parsing the XML. If omitted, a value of Nothing is assumed.
informationImport finInformationImport Optional If omitted, a value of Nothing is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finClient
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0