NameTable Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

When overridden in a derived class, gets the XmlNameTable associated with this implementation.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

abstract NameTable : XmlNameTable
override NameTable : XmlNameTable

Property Value

Type: System.Xml..::..XmlNameTable
The XmlNameTable enabling you to get the atomized version of a string within the node.

All node and attribute names returned from XmlReader are atomized using the NameTable. When the same name is returned multiple times (for example, Customer), then the same String object will be returned for that name. This makes it possible for you to write efficient code that does object comparisons on these strings instead of expensive string comparisons.

Show: