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)
Syntax
'Declaration
Public Overridable Sub Write ( _
buffer As Char() _
)
public virtual void Write(
char[] buffer
)
public:
virtual void Write(
array<wchar_t>^ buffer
)
abstract Write :
buffer:char[] -> unit
override Write :
buffer:char[] -> unit
public function Write(
buffer : char[]
)
Parameters
- buffer
Type: array<System. . :: . .Char> [] () [] []
The character array to write to the text stream.
Remarks
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 null Nothing nullptr unit a null reference (Nothing in Visual Basic) , nothing is written.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.