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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.