StreamWriter Class |
Namespace: CMS.IO
public class StreamWriter : TextWriter
The StreamWriter type exposes the following members.
Name | Description | |
---|---|---|
BaseStream |
Gets the underlying stream that interfaces with a backing store.
| |
Encoding |
Returns current stream writer encoding.
(Overrides TextWriterEncoding.) |
Name | Description | |
---|---|---|
Dispose |
Releases all resources.
(Overrides TextWriterDispose(Boolean).) | |
Flush |
Clears all buffers for the current writer and causes any buffered data to be written to the underlying stream.
(Overrides TextWriterFlush.) | |
New(Stream) |
Returns new instance of stream writer class.
| |
New(StreamWriter) |
Returns new instance of stream writer class.
| |
New(String) |
Returns new instance of stream writer class.
| |
New(Stream, Encoding) |
Returns new instance of stream writer class.
| |
New(String, Boolean) |
Returns new instance of stream writer class.
| |
New(String, Boolean, Encoding) |
Returns new instance of stream writer class.
| |
Write(Char) |
Writes one character to stream.
(Overrides TextWriterWrite(Char).) | |
Write(String) |
Writes a string to the stream.
(Overrides TextWriterWrite(String).) | |
Write(Char, Int32, Int32) |
Writes char array to the stream.
(Overrides TextWriterWrite(Char, Int32, Int32).) | |
WriteLine |
Writes a string followed by a line terminator to the text stream.
(Overrides TextWriterWriteLine(String).) |