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

System.IO.TextWriter.Write Method

Writes a character array to the text stream.

public virtual void Write (char[] buffer)

Parameters

buffer
The char array to write to the text stream. If buffer is null, nothing is written.

Exceptions

TypeReason
System.IO.IOExceptionAn I/O error occurred.

Remarks

This version of TextWriter.Write(char) is equivalent to TextWriter.Write(char)(buffer, 0, buffer.Length ).

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

Operation
As described above.

Requirements

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