XPathNavigator.NameTable Property

When overridden in a derived class, gets the XmlNameTable of the XPathNavigator.

Namespace: System.Xml.XPath
Assembly: System.Xml (in system.xml.dll)

public abstract XmlNameTable NameTable { get; }
/** @property */
public abstract XmlNameTable get_NameTable ()

public abstract function get NameTable () : XmlNameTable

Not applicable.

Property Value

An XmlNameTable object enabling you to get the atomized version of a String within the XML document.

The XmlNameTable stores atomized strings of any local name, namespace URI, and prefix used by the XPathNavigator. This means that when the same Name is returned multiple times (like "book"), 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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0