NameTable Property

XmlReaderSettings::NameTable Property

 

Gets or sets the XmlNameTable used for atomized string comparisons.

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

public:
property XmlNameTable^ NameTable {
	XmlNameTable^ get();
	void set(XmlNameTable^ value);
}

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.

System_CAPS_noteNote

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

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft