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.​XmlNameTable
Assembly: System.Xml.ReaderWriter
Inheritance: object → XmlNameTable
Table of atomized string objects.
Methods
public
string
Add​(char[] array,
int offset,
int length)
When overridden in a derived class, atomizes the specified string and adds it to the <see langword="XmlNameTable" /> .
Returns The new atomized string or the existing one if it already exists. If length is zero, String.Empty is returned.
array
The character array containing the name to add.
offset
Zero-based index into the array specifying the first character of the name.
length
The number of characters in the name.
public
string
Add​(string array)
When overridden in a derived class, atomizes the specified string and adds it to the <see langword="XmlNameTable" /> .
Returns The new atomized string or the existing one if it already exists.
array
The name to add.
public
string
Get​(char[] array,
int offset,
int length)
When overridden in a derived class, 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="length" /> is zero, String.Empty is returned.
array
The character array containing the name to look up.
offset
The zero-based index into the array specifying the first character of the name.
length
The number of characters in the name.
public
string
Get​(string array)
When overridden in a derived class, gets the atomized string containing the same value as the specified string.
Returns The atomized string or <see langword="null" /> if the string has not already been atomized.
array
The name to look up.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object