Mono Class Library: System.Xml.XmlTextReader Overview | MembersSystem.Xml.XmlTextReader.ResetState Method |
Resets the XmlTextReader.ReadState to ReadState.Initial. [Edit]
|
Type Reason InvalidOperationException The current instance was constructed with a System.Xml.XmlParserContext. [Edit]
The XmlTextReader.Normalization, XmlTextReader.WhitespaceHandling, XmlTextReader.Namespaces, and XmlTextReader.XmlResolver properties are not changed by this method.
Note:[Edit]This method enables the parsing of multiple XML documents in a single stream. When the end of an XML document is reached, this method resets the state of the current instance in preparation for the next XML document.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0