FileStream.WriteByte Method

May 11, 2014

Writes a byte to the current position in the file 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
ObjectDisposedException

The stream is closed.

NotSupportedException

The stream does not support writing.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft