Writes the text representation of a Boolean value to the text stream.
[Visual Basic] Overloads Overridable Public Sub Write( _ ByVal value As Boolean _ ) [C#] public virtual void Write( bool value ); [C++] public: virtual void Write( bool value ); [JScript] public function Write( value : Boolean );
Exception Type | Condition |
---|---|
IOException | An I/O error occurs. |
This method outputs either Boolean.TrueString or Boolean.FalseString.
TextWriter Class | TextWriter Members | System.IO Namespace | TextWriter.Write Overload List