XmlNameTable.Add Method (String)


When overridden in a derived class, atomizes the specified string and adds it to the XmlNameTable.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

abstract Add : 
        array:string -> string


Type: System.String

The name to add.

Return Value

Type: System.String

The new atomized string or the existing one if it already exists.

Exception Condition

array is null.

For more information on atomized strings, see XmlNameTable.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top