BinaryWriterWrite Method (Char) |
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.IOAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public virtual void Write(
char[] chars
)
Parameters
- chars
- Type: SystemChar
A character array containing the data to write.
Exceptions Exception | Condition |
---|
ArgumentNullException | chars is null. |
ObjectDisposedException | The stream is closed. |
IOException | An I/O error occurs. |
See Also