Mono Class Library: Overview

System.IO.TextWriter: Members

The members of System.IO.TextWriter are listed below.

See Also: Inherited members from System.MarshalByRefObject

Protected Constructors

Constructs and initializes a new instance of the System.IO.TextWriter class.
Constructs and initializes a new instance of the System.IO.TextWriter class with the specified format provider.

Public Fields

static readonly
NullTextWriter. Provides a System.IO.TextWriter object without a backing store.

Protected Fields

CoreNewLinechar[]. Documentation for this section has not yet been entered.

Public Properties

[read-only]
abstract
EncodingSystem.Text.Encoding. Gets the System.Text.Encoding in which the output is written.
[read-only]
FormatProviderIFormatProvider. Gets an object that provides formatting for the current instance
NewLinestring. Gets or sets the line terminator string used by the current System.IO.TextWriter .

Public Methods

Close()
Closes the current System.IO.TextWriter instance and releases any system resources associated with it.
Dispose()
Documentation for this section has not yet been entered.
Flush()
Writes any buffered data to the underlying device and clears all buffers for the current System.IO.TextWriter instance.
static
Synchronized(TextWriter) : TextWriter
Creates a thread-safe wrapper around the specified System.IO.TextWriter instance.
Write(bool)
Writes the text representation of a specified bool value to the text stream.
Write(char)
Writes a character to the text stream.
Write(char[])
Writes a character array to the text stream.
Write(decimal)
Writes the text representation of a specified decimal to the text stream.
Write(double)
Writes the text representation of a specified double to the text stream.
Write(int)
Writes the text representation of a specified int to the text stream.
Write(long)
Writes the text representation of a specified long to the text stream.
Write(object)
Writes the text representation of a specified object to the text stream.
Write(float)
Writes the text representation of a specified float to the text stream.
Write(string)
Writes a specified string to the text stream.
Write(uint)
Writes the text representation of a uint to the text stream.
Write(ulong)
Writes the text representation of a specified ulong to the text stream.
Write(string, object)
Writes out the format string to the text stream.
Write(string, params object[])
Writes a formatted string to the text stream.
Write(char[], int, int)
Writes a subarray of characters to the text stream.
Write(string, object, object)
Writes out a formatted string to the text stream.
Write(string, object, object, object)
Writes out a formatted string to the text stream.
WriteLine()
Writes a line terminator to the text stream.
WriteLine(bool)
Writes the text representation of a bool value followed by a line terminator to the text stream.
WriteLine(char)
Writes a specified character followed by a line terminator to the text stream.
WriteLine(char[])
Writes a specified character array followed by a line terminator to the text stream.
WriteLine(decimal)
Writes the text representation of a specified decimal value followed by a line terminator to the text stream.
WriteLine(double)
Writes the text representation of a specified double value followed by a line terminator to the text stream.
WriteLine(int)
Writes the text representation of a specified int value followed by a line terminator to the text stream.
WriteLine(long)
Writes the text representation of a specified long value followed by a line terminator to the text stream.
WriteLine(object)
Writes the text representation of a specified object followed by a line terminator to the text stream.
WriteLine(float)
Writes the text representation of a specified float value followed by a line terminator to the text stream.
WriteLine(string)
Writes a specified string followed by a line terminator to the text stream.
WriteLine(uint)
Writes the text representation of a specified uint value followed by a line terminator to the text stream.
WriteLine(ulong)
Writes the text representation of a specified ulong value followed by a line terminator to the text stream.
WriteLine(string, object)
Writes out a formatted string followed by a line terminator to the text stream.
WriteLine(string, params object[])
Writes out a formatted string followed by a line terminator to the text stream.
WriteLine(char[], int, int)
Writes a sub-array of characters from a specified character array, followed by a line terminator to the text stream.
WriteLine(string, object, object)
Writes out a formatted string followed by a line terminator to the text stream.
WriteLine(string, object, object, object)
Writes out a formatted string followed by a line terminator to the text stream.

Protected Methods

Dispose(bool)
Releases the unmanaged resources used by the System.IO.TextWriter and optionally releases the managed resources.

Explicitly Implemented Interface Members

IDisposable.DisposeDocumentation for this section has not yet been entered.