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)

Syntax

Public Overrides Sub WriteByte ( _
    value As Byte _
)
public override void WriteByte(
    byte value
)

Parameters

Exceptions

Exception Condition
ObjectDisposedException

The stream is closed.

NotSupportedException

The stream does not support writing.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

FileStream Class

System.IO Namespace