The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.

ReplaceWith Method

Replaces this node with the specified content.

[Ok := ] XmlDeclaration.ReplaceWith(Node,...)  


 Type: Joker
The content with which to replace the current node.

Return Value

 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 run-time error will occur.

See Also

HTTP, JSON, TextBuilder, and XML API
Getting Started with AL
Developing Extensions