Share via


WriteByte Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Writes a byte to the current position in the stream and advances the position within the stream by one byte.

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

Syntax

'Declaration
Public Overridable Sub WriteByte ( _
    value As Byte _
)
public virtual void WriteByte(
    byte value
)
public:
virtual void WriteByte(
    unsigned char value
)
abstract WriteByte : 
        value:byte -> unit 
override WriteByte : 
        value:byte -> unit 
public function WriteByte(
    value : byte
)

Parameters

Remarks

Use the CanWrite property to determine whether the current instance supports writing.

.NET Framework Security

See Also

Reference

Stream Class

System.IO Namespace