Closes the current instance of TextReader and releases any system resources associated with the TextReader.
[Visual Basic] Overridable Public Sub Close() [C#] public virtual void Close(); [C++] public: virtual void Close(); [JScript] public function Close();
Following a call to Close, any operations on the TextReader may raise exceptions. This default method is empty, but derived classes can override the method to provide the appropriate functionality.