Writes the text representation of an object followed by a line terminator to the text stream.
[Visual Basic] Overloads Overridable Public Sub WriteLine( _ ByVal value As Object _ ) [C#] public virtual void WriteLine( object value ); [C++] public: virtual void WriteLine( Object* value ); [JScript] public function WriteLine( value : Object );
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