Validating Reader. Close Method
Changes the ReadState to Closed.
public: override void Close();
public override void Close ();
override this.Close : unit -> unit
Public Overrides Sub Close ()
The XmlValidatingReader class is obsolete in .NET Framework 2.0. You can create a validating XmlReader instance by using the XmlReaderSettings class and the Create method. For more information, see the Remarks section of the XmlReader reference page.
This method also releases any resources held while reading. If this reader was constructed by using an XmlTextReader, this method also calls
Close on the underlying reader. If this reader was constructed by using a stream, this method also calls
Close on the underlying stream.
Close has already been called, no action is performed.