StreamWriter Class |
Namespace: CMS.IO
public class StreamWriter : TextWriter
The StreamWriter type exposes the following members.
Name | Description | |
---|---|---|
![]() | Close |
Closes stream.
(Overrides TextWriterClose.) |
![]() | 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(StreamWriter) |
Returns new instance of stream writer class.
|
![]() ![]() | New(String) |
Returns new instance of stream writer class.
|
![]() ![]() | New(Stream) |
Returns new instance of stream writer class.
|
![]() ![]() | New(String, Boolean) |
Returns new instance of stream writer class.
|
![]() ![]() | New(Stream, Encoding) |
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).) |
Name | Description | |
---|---|---|
![]() | AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) |
![]() | GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
![]() | BaseStream |
Gets the underlying stream that interfaces with a backing store.
|
![]() | Encoding |
Returns current stream writer encoding.
(Overrides TextWriterEncoding.) |