NameTable Property

XmlReaderSettings.NameTable Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the XmlNameTable used for atomized string comparisons.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

'Declaration
Public Property NameTable As XmlNameTable

Property Value

Type: System.Xml.XmlNameTable
The XmlNameTable that stores all the atomized strings used by all XmlReader instances created using this XmlReaderSettings object.
The default is Nothing. The created XmlReader instance will use a new empty NameTable if this value is Nothing.

Set this property to an XmlNameTable instance if you want to share a common name table among all the created XmlReader instances.

NoteNote:

The NameTable class is not thread-safe. Therefore it cannot be shared between XmlReader objects that run simultaneously in different threads.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft