Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Xml.​NameTable

Assembly: System.Xml.ReaderWriter

Inheritance: object → XmlNameTable → NameTable

Implements a single-threaded <see cref="T:System.Xml.XmlNameTable" /> .

Methods

public string
Add​(char[] key, int start, int len)
Atomizes the specified string and adds it to the <see langword="NameTable" /> .
Returns The atomized string or the existing string if one already exists in the <see langword="NameTable" /> . If <paramref name="len" /> is zero, String.Empty is returned.
key The character array containing the string to add.
start The zero-based index into the array specifying the first character of the string.
len The number of characters in the string.
public string
Add​(string key)
Atomizes the specified string and adds it to the <see langword="NameTable" /> .
Returns The atomized string or the existing string if it already exists in the <see langword="NameTable" /> .
key The string to add.
public string
Get​(char[] key, int start, int len)
Gets the atomized string containing the same characters as the specified range of characters in the given array.
Returns The atomized string or <see langword="null" /> if the string has not already been atomized. If <paramref name="len" /> is zero, String.Empty is returned.
key The character array containing the name to find.
start The zero-based index into the array specifying the first character of the name.
len The number of characters in the name.
public string
Get​(string value)
Gets the atomized string with the specified value.
Returns The atomized string object or <see langword="null" /> if the string has not already been atomized.
value The name to find.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object