Mono Class Library: System.IO.TextWriter Overview | Members

System.IO.TextWriter.Write Method

Writes a specified string to the text stream. [Edit]

public virtual void Write (string value)

Parameters

value
The string to write. If value is null, nothing is written. [Edit]

Exceptions

TypeReason
System.IO.IOException An I/O error occurred. [Edit]

Remarks

This version of TextWriter.Write(char) is equivalent to TextWriter.Write(char)(value.ToByteArray()).

Note: This method does not search the specified string for individual newline characters (hexadecimal 0x000a) and replace them with TextWriter.NewLine .

Operation
As described above.

[Edit]

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0