Writes a character array to the text stream.
[Visual Basic] Overloads Overridable Public Sub Write( _ ByVal buffer() As Char _ ) [C#] public virtual void Write( char[] buffer ); [C++] public: virtual void Write( __wchar_t* buffer[] ); [JScript] public function Write( buffer : Char[] );
Exception Type | Condition |
---|---|
ArgumentNullException | buffer is null. |
IOException | An I/O error occurs. |
This default method calls Write() for each of the characters in the character array. If the character array is null, nothing is written.
TextWriter Class | TextWriter Members | System.IO Namespace | TextWriter.Write Overload List