Changes the ReadState to Closed.
[Visual Basic] Overrides Public Sub Close() [C#] public override void Close(); [C++] public: void Close(); [JScript] public override function Close();
This method also releases any resources held while reading. If this reader was constructed using an XmlTextReader, this method also calls Close on the underlying reader. If this reader was constructed using a stream, this method also calls Close on the underlying stream.
If Close has already been called, no action is performed.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family