Write Method (Char[])

TextWriter.Write Method (Char[])

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Writes a character array to the text stream.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

public virtual void Write(
	char[] buffer
)

Parameters

buffer
Type: System.Char []
The character array to write to the text stream.

ExceptionCondition
ObjectDisposedException

The TextWriter is closed.

IOException

An I/O error occurs.

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

This default method calls Write and passes the entire character array. If the character array is null, nothing is written.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft