This documentation is archived and is not being maintained.

XmlValidatingReader.NameTable Property

Gets the XmlNameTable associated with this implementation.

[Visual Basic]
Overrides Public ReadOnly Property NameTable As XmlNameTable
public override XmlNameTable NameTable {get;}
public: __property XmlNameTable* get_NameTable();
public override function get NameTable() : XmlNameTable;

Property Value

The XmlNameTable enabling you to get the atomized version of a string within the node.


All node and attribute names returned from this class 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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

XmlValidatingReader Class | XmlValidatingReader Members | System.Xml Namespace | XmlNameTable