System.Xml.XmlReaderSettings Members

The members of System.Xml.XmlReaderSettings are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Xml.XmlReaderSettings class.

Public Properties

Asyncbool.

Gets or sets whether asynchronous System.Xml.XmlReader methods can be used on a particular System.Xml.XmlReader instance.

CheckCharactersbool.

Gets or sets a value indicating whether to do character checking.

CloseInputbool.

Gets or sets a value indicating whether the underlying stream or System.IO.TextReader should be closed when the reader is closed.

ConformanceLevelConformanceLevel.

Gets or sets the level of conformance which the System.Xml.XmlReader will comply.

DtdProcessingDtdProcessing.

Gets or sets a value that determines the processing of DTDs.

IgnoreCommentsbool.

Gets or sets a value indicating whether to ignore comments.

IgnoreProcessingInstructionsbool.

Gets or sets a value indicating whether to ignore processing instructions.

IgnoreWhitespacebool.

Gets or sets a value indicating whether to ignore insignificant white space.

LineNumberOffsetint.

Gets or sets line number offset of the System.Xml.XmlReader object.

LinePositionOffsetint.

Gets or sets line position offset of the System.Xml.XmlReader object.

MaxCharactersFromEntitieslong.

Gets or sets a value indicating the maximum allowable number of characters in a document that result from expanding entities.

MaxCharactersInDocumentlong.

Gets or sets a value indicating the maximum allowable number of characters XML document. A zero (0) value means no limits on the size of the XML document. A non-zero value specifies the maximum size, in characters.

NameTableXmlNameTable.

Gets or sets the System.Xml.XmlNameTable used for atomized string comparisons.

ProhibitDtdbool.

Gets or sets a value indicating whether to prohibit document type definition (DTD) processing. This property is obsolete. Use XmlTextReader.DtdProcessing instead.

SchemasSystem.Xml.Schema.XmlSchemaSet.

Gets or sets the System.Xml.Schema.XmlSchemaSet to use when performing schema validation.

ValidationFlagsSystem.Xml.Schema.XmlSchemaValidationFlags.

Gets or sets a value indicating the schema validation settings. This setting applies to schema validating System.Xml.XmlReader objects (XmlReaderSettings.ValidationType property set to ValidationType.Schema).

ValidationTypeValidationType.

Gets or sets a value indicating whether the System.Xml.XmlReader will perform validation or type assignment when reading.

[write-only]
XmlResolverXmlResolver.

Sets the System.Xml.XmlResolver used to access external documents.

Public Methods

Clone() : XmlReaderSettings

Creates a copy of the System.Xml.XmlReaderSettings instance.

Reset()

Resets the members of the settings class to their default values.

Public Events

ValidationEventHandler

Occurs when the reader encounters validation errors.