StreamWriter MembersKentico 8.0 API Reference
The StreamWriter type exposes the following members.
Methods

  NameDescription
Public methodClose
Closes stream.
(Overrides OnlineTextWriter Close .)
Public methodOnlineCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from OnlineMarshalByRefObject.)
Public methodOnlineDispose 
Releases all resources used by the OnlineTextWriter object.
(Inherited from OnlineTextWriter.)
Protected methodDispose(Boolean)
Releases all resources.
(Overrides OnlineTextWriter Dispose(Boolean).)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodFlush
Clears all buffers for the current writer and causes any buffered data to be written to the underlying stream.
(Overrides OnlineTextWriter Flush .)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from OnlineMarshalByRefObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodOnlineInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from OnlineMarshalByRefObject.)
Protected methodOnlineMemberwiseClone 
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone(Boolean)
Creates a shallow copy of the current OnlineMarshalByRefObject object.
(Inherited from OnlineMarshalByRefObject.)
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 methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodOnlineWrite( Char )
Writes a character array to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWrite(Boolean)
Writes the text representation of a Boolean value to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWrite(Int32)
Writes the text representation of a 4-byte signed integer to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWrite(UInt32)
Writes the text representation of a 4-byte unsigned integer to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWrite(Int64)
Writes the text representation of an 8-byte signed integer to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWrite(UInt64)
Writes the text representation of an 8-byte unsigned integer to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWrite(Single)
Writes the text representation of a 4-byte floating-point value to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWrite(Double)
Writes the text representation of an 8-byte floating-point value to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWrite(Decimal)
Writes the text representation of a decimal value to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWrite(Object)
Writes the text representation of an object to the text stream by calling ToString on that object.
(Inherited from OnlineTextWriter.)
Public methodWrite(Char)
Writes one character to stream.
(Overrides OnlineTextWriter Write(Char).)
Public methodWrite(String)
Writes a string to the stream.
(Overrides OnlineTextWriter Write(String).)
Public methodOnlineWrite(String, Object)
Writes out a formatted string, using the same semantics as OnlineFormat(String, Object).
(Inherited from OnlineTextWriter.)
Public methodOnlineWrite(String,  Object )
Writes out a formatted string, using the same semantics as OnlineFormat(String, Object).
(Inherited from OnlineTextWriter.)
Public methodOnlineWrite(String, Object, Object)
Writes out a formatted string, using the same semantics as OnlineFormat(String, Object).
(Inherited from OnlineTextWriter.)
Public methodWrite( Char , Int32, Int32)
Writes char array to the stream.
(Overrides OnlineTextWriter Write( Char , Int32, Int32).)
Public methodOnlineWrite(String, Object, Object, Object)
Writes out a formatted string, using the same semantics as OnlineFormat(String, Object).
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine 
Writes a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(Char)
Writes a character followed by a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine( Char )
Writes an array of characters followed by a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(Boolean)
Writes the text representation of a Boolean followed by a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(Int32)
Writes the text representation of a 4-byte signed integer followed by a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(UInt32)
Writes the text representation of a 4-byte unsigned integer followed by a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(Int64)
Writes the text representation of an 8-byte signed integer followed by a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(UInt64)
Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(Single)
Writes the text representation of a 4-byte floating-point value followed by a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(Double)
Writes the text representation of a 8-byte floating-point value followed by a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(Decimal)
Writes the text representation of a decimal value followed by a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(Object)
Writes the text representation of an object by calling ToString on this object, followed by a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodWriteLine(String)
Writes a string followed by a line terminator to the text stream.
(Overrides OnlineTextWriter WriteLine(String).)
Public methodOnlineWriteLine(String, Object)
Writes out a formatted string and a new line, using the same semantics as OnlineFormat(String, Object).
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(String,  Object )
Writes out a formatted string and a new line, using the same semantics as OnlineFormat(String, Object).
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine( Char , Int32, Int32)
Writes a subarray of characters followed by a line terminator to the text stream.
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(String, Object, Object)
Writes out a formatted string and a new line, using the same semantics as OnlineFormat(String, Object).
(Inherited from OnlineTextWriter.)
Public methodOnlineWriteLine(String, Object, Object, Object)
Writes out a formatted string and a new line, using the same semantics as OnlineFormat(String, Object).
(Inherited from OnlineTextWriter.)
Back to Top
Extension Methods

  NameDescription
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.)
Back to Top
Fields

  NameDescription
Protected fieldOnlineCoreNewLine
Stores the new line characters used for this TextWriter.
(Inherited from OnlineTextWriter.)
Back to Top
Properties

  NameDescription
Public propertyBaseStream
Gets the underlying stream that interfaces with a backing store.
Public propertyEncoding
Returns current stream writer encoding.
(Overrides OnlineTextWriter Encoding.)
Public propertyOnlineFormatProvider
Gets an object that controls formatting.
(Inherited from OnlineTextWriter.)
Public propertyOnlineNewLine
Gets or sets the line terminator string used by the current TextWriter.
(Inherited from OnlineTextWriter.)
Back to Top
See Also