Click or drag to resize
StreamWriter Methods

The StreamWriter type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes stream.
(Overrides TextWriterClose.)
Protected methodDispose
Releases all resources.
(Overrides TextWriterDispose(Boolean).)
Public methodFlush
Clears all buffers for the current writer and causes any buffered data to be written to the underlying stream.
(Overrides TextWriterFlush.)
Public methodStatic memberNew(StreamWriter)
Returns new instance of stream writer class.
Public methodStatic memberNew(String)
Returns new instance of stream writer class.
Public methodStatic memberNew(Stream)
Returns new instance of stream writer class.
Public methodStatic memberNew(String, Boolean)
Returns new instance of stream writer class.
Public methodStatic memberNew(Stream, Encoding)
Returns new instance of stream writer class.
Public methodStatic memberNew(String, Boolean, Encoding)
Returns new instance of stream writer class.
Public methodWrite(Char)
Writes one character to stream.
(Overrides TextWriterWrite(Char).)
Public methodWrite(String)
Writes a string to the stream.
(Overrides TextWriterWrite(String).)
Public methodWrite(Char, Int32, Int32)
Writes char array to the stream.
(Overrides TextWriterWrite(Char, Int32, Int32).)
Public methodWriteLine
Writes a string followed by a line terminator to the text stream.
(Overrides TextWriterWriteLine(String).)
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also