NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BinaryWriter.Write (Char[])

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

[Visual Basic]
Overloads Public Sub Write( _
   ByVal buffer() As Char _
)
[C#]
public void Write(
   char[] buffer
);
[C++]
public: void Write(
   __wchar_t* buffer[]
);
[JScript]
public function Write(
   buffer : Char[]
);

Parameters

buffer
A character array containing the data to write.

Exceptions

Exception Type Condition
ArgumentNullException buffer is a null reference (in Visual Basic Nothing).
IOException An I/O error occurs.

See Also

BinaryWriter Class | BinaryWriter Members | System.IO Namespace | BinaryWriter.Write Overload List