XmlReaderSettings.Reset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resets the members of the settings class to their default values.
public:
void Reset();
public void Reset ();
member this.Reset : unit -> unit
Public Sub Reset ()
Remarks
The following table shows initial property values for an instance of XmlReaderSettings.
Property | Initial Value |
---|---|
Async | false . |
CheckCharacters | true . |
ConformanceLevel | Document. |
IgnoreComments | false . |
IgnoreProcessingInstructions | false . |
IgnoreWhitespace | false . |
LineNumberOffset | 0. |
LinePositionOffset | 0. |
MaxCharactersFromEntities | 0 (there is no limit on the number of characters that result from expanding entities). |
MaxCharactersInDocument | 0 (there is no limit on the size of the XML document). |
NameTable | null . |
DtdProcessing | Prohibit |
ProhibitDtd | true . This property is obsolete. Use DtdProcessing instead. If you had set ProhibitDtd to its default value true set DtdProcessing to Prohibit . If you had set ProhibitDtd to false set DtdProcessing to Parse . |
Schemas | An empty XmlSchemaSet object. |
ValidationFlags | ProcessIdentityConstraints. |
ValidationType | None. |
XmlResolver | A new XmlUrlResolver object. |
Applies to
See also
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.