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
- value
Type: System. . :: . .Byte
The byte to write to the stream.
Remarks
Use the CanWrite property to determine whether the current instance supports writing.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.