Writes out a formatted string and a new line, using the same semantics as Format.
[Visual Basic] Overloads Overridable Public Sub WriteLine( _ ByVal format As String, _ ByVal arg0 As Object _ ) [C#] public virtual void WriteLine( string format, object arg0 ); [C++] public: virtual void WriteLine( String* format, Object* arg0 ); [JScript] public function WriteLine( format : String, arg0 : 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