This documentation is archived and is not being maintained.
Implements a TextWriter for writing characters to a stream in a particular encoding.
The StreamWriter type exposes the following members.
|Close||Closes the current StreamWriter object and the underlying stream. (Overrides TextWriter.Close().)|
|CreateObjRef||Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)|
|Equals||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|Flush||Clears all buffers for the current writer and causes any buffered data to be written to the underlying stream. (Overrides TextWriter.Flush().)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetLifetimeService||Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|GetType||Gets the type of the current instance. (Inherited from Object.)|
|InitializeLifetimeService||Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|Write||Overloaded. Writes to the stream.|
|WriteLine||Overloaded. Writes some data as specified by the overloaded parameters, followed by a line terminator.|
|AutoFlush||Gets or sets a value indicating whether the StreamWriter will flush its buffer to the underlying stream after every call to StreamWriter.Write.|
|BaseStream||Gets the underlying stream that interfaces with a backing store.|
|Encoding||Gets the Encoding in which the output is written. (Overrides TextWriter.Encoding.)|
|FormatProvider||Gets an object that controls formatting. (Inherited from TextWriter.)|
|NewLine||Gets or sets the line terminator string used by the current TextWriter. (Inherited from TextWriter.)|