Writes a one-byte Boolean value to the current stream, with zero representing false and one representing true.
[Visual Basic] Overloads Public Sub Write( _ ByVal value As Boolean _ ) [C#] public void Write( bool value ); [C++] public: void Write( bool value ); [JScript] public function Write( value : Boolean );
Exception Type | Condition |
---|---|
IOException | An I/O error occurs. |
ArgumentNullException | value is a null reference (in Visual Basic Nothing). |
BinaryWriter Class | BinaryWriter Members | System.IO Namespace | BinaryWriter.Write Overload List