WriteByte Method

FileStream.WriteByte Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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:
© 2017 Microsoft