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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za