XmlNamespaceManager.AddNamespace(Text, Text) Method

Version: Available or changed with runtime version 1.0.

Adds the given namespace to the collection.

Syntax

 XmlNamespaceManager.AddNamespace(Prefix: Text, Uri: Text)

Parameters

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

Prefix
 Type: Text
The prefix to associate with the namespace being added. Use an empty string to add a default namespace.

Uri
 Type: Text
The namespace to add.

See Also

XmlNamespaceManager Data Type
Get Started with AL
Developing Extensions