XmlWriteOptions.PreserveWhitespace([Boolean]) Method

Version: Available or changed with runtime version 1.0.

Gets or sets a value that indicates whether insignificant white space should be preserved during serialization.

Syntax

[Value := ]  XmlWriteOptions.PreserveWhitespace([NewValue: Boolean])

Note

This method can be invoked using property access syntax.

Parameters

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

[Optional] NewValue
 Type: Boolean
The new value of the flag.

Return Value

[Optional] Value
 Type: Boolean
true if insignificant white spaces should be preserved during serialization, otherwise false.

See Also

XmlWriteOptions Data Type
Get Started with AL
Developing Extensions