BinaryWriter.Write Method (Char[])
Silverlight
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)
Parameters
- chars
- Type: System.Char[]
A character array containing the data to write.
| Exception | Condition |
|---|---|
| ArgumentNullException |
chars is null. |
| ObjectDisposedException |
The stream is closed. |
| IOException |
An I/O error occurs. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.