Modifier

Partager via


XmlDocument.ReadFrom(Text, var XmlDocument) Method

Version: Available or changed with runtime version 1.0.

Reads and parses the XML document from the given data source.

Syntax

[Ok := ]  XmlDocument.ReadFrom(Text: Text, var Result: XmlDocument)

Parameters

Text
 Type: Text
A string containing an XML document.

Result
 Type: XmlDocument
The XmlDocument parsed from the given data source.

Return Value

[Optional] Ok
 Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

XmlDocument Data Type
Get Started with AL
Developing Extensions