Mono Class Library: Overview

System.IO.StreamWriter: Method Members

The methods of System.IO.StreamWriter are listed below. For a list of all members, see the StreamWriter Members list.

See Also: Inherited members from System.IO.TextWriter

Public Methods

override
Close()
Closes the current System.IO.StreamWriter and the underlying stream.
Finalize()
Releases resources held by the current instance.
override
Flush()
Clears all buffers for the current writer and causes any buffered data to be written to the underlying stream.
override
Write(char)
Writes a character to the stream.
override
Write(char[])
Writes a character array to the underlying stream.
override
Write(string)
Writes a string to the stream.
override
Write(char[], int, int)
Writes a sub-array of characters to the underlying stream.

Protected Methods

override
Dispose(bool)
Releases the unmanaged resources used by the System.IO.StreamWriter and optionally releases the managed resources.