Writes an array of characters followed by a line terminator to the text stream.
[Visual Basic] Overloads Overridable Public Sub WriteLine( _ ByVal buffer() As Char _ ) [C#] public virtual void WriteLine( char[] buffer ); [C++] public: virtual void WriteLine( __wchar_t* buffer[] ); [JScript] public function WriteLine( buffer : Char[] );
Exception Type | Condition |
---|---|
ArgumentException | buffer is null. |
IOException | An I/O error occurs. |
All the characters in buffer are written to the underlying stream unless the end of the underlying stream is reached.
TextWriter Class | TextWriter Members | System.IO Namespace | TextWriter.WriteLine Overload List