System.Xml.NameTable.Add Method

Atomizes the specified string and adds it to the NameTable.

Syntax

public override string Add (string key)

Parameters

key
The string to add.

Returns

The atomized string or the existing string if it already exists in the NameTable.

Exceptions

TypeReason
ArgumentNullException key is null.

Remarks

For more information on atomized strings, see System.Xml.NameTable.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0