Export (0) Print
Expand All

XmlReaderSettings.NameTable Property

Gets or sets the XmlNameTable used for atomized string comparisons.

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

public XmlNameTable NameTable { get; set; }

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 null. The created XmlReader instance will use a new empty NameTable if this value is null.

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft