BinaryWriter.Write Method (String)
Silverlight
Writes a length-prefixed string to this stream in the current encoding of the BinaryWriter, 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
- value
- Type: System.String
The value to write.
| Exception | Condition |
|---|---|
| IOException |
An I/O error occurs. |
| ArgumentNullException |
value is null. |
| ObjectDisposedException |
The stream is closed. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.