<PackageReference Include="System.Xml.ReaderWriter" Version="4.0.11-beta-23409" />

XmlReaderSettings

public sealed class XmlReaderSettings
Specifies a set of features to support on the XmlReader object created by the Create method.
public bool Async { get; set; }

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

public bool CheckCharacters { get; set; }

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

public bool CloseInput { get; set; }

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

public ConformanceLevel ConformanceLevel { get; set; }

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

public DtdProcessing DtdProcessing { get; set; }

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

public bool IgnoreComments { get; set; }

Gets or sets a value indicating whether to ignore comments.

public bool IgnoreProcessingInstructions { get; set; }

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

public bool IgnoreWhitespace { get; set; }

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

public int LineNumberOffset { get; set; }

Gets or sets line number offset of the XmlReader object.

public int LinePositionOffset { get; set; }

Gets or sets line position offset of the XmlReader object.

public long MaxCharactersFromEntities { get; set; }

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

public long MaxCharactersInDocument { get; set; }

Gets or sets a value indicating the maximum allowable number of characters in an 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.

public XmlNameTable NameTable { get; set; }

Gets or sets the XmlNameTable used for atomized string comparisons.

Initializes a new instance of the XmlReaderSettings class.

Creates a copy of the XmlReaderSettings instance.

public void Reset()

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