XmlNameTable.Add(Text) Method

Version: Available or changed with runtime version 1.0.

Atomizes the specified string and adds it to the XmlNameTable.

Syntax

[AddedKey := ]  XmlNameTable.Add(Key: Text)

Parameters

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

Key
 Type: Text
The string to add.

Return Value

[Optional] AddedKey
 Type: Text
The new atomized string or the existing one if it already exists

XmlNameTable Data Type
Get Started with AL
Developing Extensions