System.XML.XMLReader

This is an abstract class with the following derived classes
XMLTextReader
XMLNodeReader
XMLValidatingReader
XMLDictionaryReader


Creating a XMLReader instance

Starting from .NET 2.0 it is recommended not to create an instance of one of these derived classes directly but to create an XMLReader instance by using the Create method.


The XMLReaderSettings class is used to specify the set of features you want to enable on the XMLReader object.
The advantage of using the XMLReaderSettings is that it can be reused when creating other XMLReaders.


System.XML.XMLReaderSettings

List of Properties



CheckCharacters
ConformanceLevel
IgnoreComments
IgnoreProcessingInstructions
IgnoreWhitespace
LineNumberOffset
LinePositionOffset
NameTable
DtdProcessing
ProhibitDtd
Schemas
ValidationFlags
ValidationType
XMLResolver



System.XML.XMLTextReader




© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext