BinaryWriterWrite Method (String) |
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.IOAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntaxpublic virtual void Write(
string value
)
Parameters
- value
- Type: SystemString
The value to write.
ExceptionsException | Condition |
---|
IOException | An I/O error occurs. |
ArgumentNullException | value is null. |
ObjectDisposedException | The stream is closed. |
See Also