Writes a byte to the current position in the stream and advances the position within the stream by one byte.
- value
- The byte to write to the stream.
Type Reason System.IO.IOException An I/O error has occurred. NotSupportedException The stream does not support writing. ObjectDisposedException The stream is closed.
Note: Use the Stream.CanWrite property to determine whether the current instance supports writing.Operation
As described above.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0