CreateXmlReader(XmlNameTable):XmlReader

Generates an XmlReader for reading the Xml.

Return type: System.Xml.XmlReader

Parameter

nameTable

Type: System.Xml.XmlNameTable

The XmlNameTable class is used internally for saving attribute and element names. If an element or an attribute name appears in an XML document several times, it is only saved once in the XmlNameTable.

The names are saved as object types of CLR (Common Language Runtime). This means that, instead of a more time-consuming string comparison, you can perform object comparisons on these strings. These string objects are referred to as atomizedstrings.