XmlNameTable.Get(Text, var Text) Method

Version: Available or changed with runtime version 1.0.

Gets the atomized string with the specified value.

Syntax

[Ok := ]  XmlNameTable.Get(Key: Text, var Result: Text)

Parameters

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

Key
 Type: Text
The string to find.

Result
 Type: Text
The atomized string object if the string has been atomized.

Return Value

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

XmlNameTable Data Type
Get Started with AL
Developing Extensions