Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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)
Syntax
'Declaration
Public Overridable ReadOnly Property NameTable As XmlNameTable
public virtual XmlNameTable NameTable { get; }
public:
virtual property XmlNameTable^ NameTable {
XmlNameTable^ get ();
}
abstract NameTable : XmlNameTable with get
override NameTable : XmlNameTable with get
function get NameTable () : XmlNameTable
Property Value
Type: System.Xml. . :: . .XmlNameTable
The XmlNameTable enabling you to get the atomized version of a string within the node.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.