Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlReader.NameTable Property

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

[Visual Basic]
Public MustOverride ReadOnly Property NameTable As XmlNameTable
[C#]
public abstract XmlNameTable NameTable {get;}
[C++]
public: __property virtual XmlNameTable* get_NameTable() = 0;
[JScript]
public abstract function get NameTable() : XmlNameTable;

Property Value

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

Remarks

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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft