Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WriteByte Method

BufferedStream.WriteByte Method

Writes a byte to the current position in the buffered stream.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

public override void WriteByte(
	byte value
)

Parameters

value
Type: System.Byte

A byte to write to the stream.

ExceptionCondition
NotSupportedException

The stream does not support writing.

ArgumentNullException

value is null.

ObjectDisposedException

Methods were called after the stream was closed.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft