NameTable.Add Method (String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Atomizes the specified string and adds it to the NameTable.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- key
- Type: System.String
The string to add.
Return Value
Type: System.StringThe atomized string or the existing string if it already exists in the NameTable.
| Exception | Condition |
|---|---|
| NullReferenceException | key is null. |
Show: