Share via


Dispose Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Dispose() () () () Releases all resources used by the TextReader object. (Inherited from TextReader.)
Protected method Dispose(Boolean) Closes the underlying stream, releases the unmanaged resources used by the StreamReader, and optionally releases the managed resources. (Overrides TextReader. . :: . .Dispose(Boolean).)

Top

See Also

Reference

StreamReader Class

System.IO Namespace