Closes the stream, changes the ReadState to Closed, and sets all the properties back to zero.
[Visual Basic] MustOverride Public Sub Close() [C#] public abstract void Close(); [C++] public: virtual void Close() = 0; [JScript] public abstract function Close();
This method also releases any resources held while reading. This method also calls Close on the underlying streams provided in the XmlReader constructor.
If Close has already been called, no action is performed.
XmlReader Class | XmlReader Members | System.NewXml Namespace