Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BufferedStream::WriteByte Method (Byte)

 

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

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

public:
virtual void WriteByte(
	unsigned char value
) override

Parameters

value
Type: System::Byte

A byte to write to the stream.

Exception Condition
NotSupportedException

The stream does not support writing.

ArgumentNullException

value is null.

ObjectDisposedException

Methods were called after the stream was closed.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft