XmlNodeList.Get(Integer, var XmlNode) Method

Version: Available or changed with runtime version 1.0.

Gets a node at the given index.

Syntax

[Ok := ]  XmlNodeList.Get(Index: Integer, var Node: XmlNode)

Parameters

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

Index
 Type: Integer
The one-based index into the list of nodes.

Node
 Type: XmlNode
The XmlNode with the specified index in the list.

Return Value

[Optional] Ok
 Type: Boolean
true if a node is found at the given index, otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

See Also

XmlNodeList Data Type
Get Started with AL
Developing Extensions