Mono Class Library: System.Xml.XmlTextReader Overview | Members

System.Xml.XmlTextReader.NameTable Property

Gets the name table used by the current instance to store and look up element and attribute names, prefixes, and namespaces. [Edit]

public override XmlNameTable NameTable { get; }

Value

The System.Xml.XmlNameTable used by the current instance. [Edit]

Remarks

This property is read-only.

The System.Xml.XmlTextReader class stores element and attribute names, prefixes, and namespaces as individual string objects when a document is read.

A qualified name is stored as a unique string instance and separated into its prefix and local name parts, which are also stored as unique strings instances. For example, <somePrefix:someElement>, is stored as three strings, "somePrefix:someElement", "somePrefix", and "someElement".

Note:

This property overrides XmlReader.NameTable.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0