log4net SDK Reference

ReusableStringWriter Methods

The methods of the ReusableStringWriter class are listed below. For a complete list of ReusableStringWriter class members, see the ReusableStringWriter Members topic.

Public Instance Methods

Close (inherited from StringWriter) Closes the current StringWriter and the underlying stream.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from TextWriter) Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetStringBuilder (inherited from StringWriter) Returns the underlying StringBuilder .
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
Reset Reset this string writer so that it can be reused.
ToString (inherited from StringWriter) Returns a string containing the characters written to the current StringWriter so far.
Write (inherited from TextWriter)Overloaded. Writes out a formatted string, using the same semantics as Format.
Write (inherited from StringWriter)Overloaded. Writes a string to this instance of the StringWriter.
WriteLine (inherited from TextWriter)Overloaded. Writes out a formatted string and a new line, using the same semantics as Format.

Protected Instance Methods

Dispose Override Dispose to prevent closing of writer
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ReusableStringWriter Class | log4net.Util Namespace