XmlDocument.ReadFrom(InStream, XmlReadOptions, 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(InStream: InStream, ReadOptions: XmlReadOptions, var Result: XmlDocument)

Parameters

InStream
 Type: InStream
A stream containing an XML document.

ReadOptions
 Type: XmlReadOptions
Specifies options for customizing how the document is parsed.

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.

See Also

XmlDocument Data Type
Get Started with AL
Developing Extensions