XmlDeclaration.Encoding([Text]) Method

Version: Available or changed with runtime version 1.0.

Gets or sets the encoding of the XML document.

Syntax

[Value := ]  XmlDeclaration.Encoding([NewValue: Text])

Note

This method can be invoked using property access syntax.

Parameters

XmlDeclaration
 Type: XmlDeclaration
An instance of the XmlDeclaration data type.

[Optional] NewValue
 Type: Text
The new value for the encoding of the XML document.

Return Value

[Optional] Value
 Type: Text
The encoding of the XML document.

XmlDeclaration Data Type
Get Started with AL
Developing Extensions