XPathNavigator.NameTable Property

Switch View :
ScriptFree
.NET Framework Class Library
XPathNavigator.NameTable Property

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

An XmlNameTable.

Remarks

The XmlNameTable stores atomized strings of any LocalName, NamespaceURI, and Prefix used by XPathNavigator. This means that when the same name is returned multiple times (like "book") then the same String object is returned for that name. This makes it possible to write efficient code that does object comparisons on these strings instead of expensive string comparisons.

For more information on atomized strings, see XmlNameTable.

Requirements

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

XPathNavigator Class | XPathNavigator Members | System.Xml.XPath Namespace