ResetState()

XmlTextReader::ResetState() method

Resets the state of the reader to ReadState::Initial.

void System::Xml::XmlTextReader::ResetState()

Exceptions

ExceptionDescription
InvalidOperationExceptionCalling ResetState if the reader was constructed using an XmlParserContext.
XmlExceptionDocuments in a single stream do not share the same encoding.

See Also