Mono Class Library: System.Xml.NameTable Overview | MembersSystem.Xml.NameTable.Add Method |
Adds the specified string to the table if a string instance with the same value does not already exist in the table. [Edit]
|
key, if it did not exist in the table at the time of the call, or the string instance previously stored in the table with a value equal to key. [Edit]
Type Reason ArgumentNullException key is null. [Edit]
Only a single instance of any given string is stored in the table. If the value of key is already stored in the table, the string instance with that value is returned.
Note:[Edit]This method overrides XmlNameTable.Add(Char[], int, int)(String).
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0