Writes the text representation of a Boolean followed by a line terminator to the text stream.
[Visual Basic] Overloads Overridable Public Sub WriteLine( _ ByVal value As Boolean _ ) [C#] public virtual void WriteLine( bool value ); [C++] public: virtual void WriteLine( bool value ); [JScript] public function WriteLine( value : Boolean );
Exception Type | Condition |
---|---|
ArgumentNullException | A a null reference (in Visual Basic Nothing) string or object is passed. |
IOException | An I/O error occurs. |
TextWriter Class | TextWriter Members | System.IO Namespace | TextWriter.WriteLine Overload List