XmlNode.AsXmlComment() Method

Version: Available or changed with runtime version 1.0.

Converts the node to an XmlComment node. The operation will fail if the node is not an XmlComment.

Syntax

XmlComment :=   XmlNode.AsXmlComment()

Parameters

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

Return Value

XmlComment
 Type: XmlComment
An XmlComment value that references the current XmlNode.

XmlNode Data Type
Get Started with AL
Developing Extensions