BinaryWriter.Write Method (Char())

May 11, 2014

Writes a character array to the current stream and advances the current position of the stream in accordance with the Encoding used and the specific characters being written to the stream.

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

'Declaration
Public Overridable Sub Write ( _
	chars As Char() _
)

Parameters

chars
Type: System.Char ()
A character array containing the data to write.

ExceptionCondition
ArgumentNullException

chars is Nothing.

ObjectDisposedException

The stream is closed.

IOException

An I/O error occurs.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft