Windows apps
Collapse the table of content
Expand the table of content

Write Method (Char[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Writes a character array to the text string or stream.

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

public virtual void Write(
	char[] buffer
)

Parameters

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

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

This default method calls the Write(array<Char>[]()[][], Int32, Int32) method and passes the entire character array. If the character array is nullNothingnullptrunita null reference (Nothing in Visual Basic), nothing is written.

Show:
© 2017 Microsoft