Writes a string to the text stream.
[Visual Basic] Overloads Overridable Public Sub Write( _ ByVal value As String _ ) [C#] public virtual void Write( string value ); [C++] public: virtual void Write( String* value ); [JScript] public function Write( value : String );
Exception Type | Condition |
---|---|
ArgumentNullException | A a null reference (in Visual Basic Nothing) string or object is passed. |
IOException | An I/O error occurs. |
If value is null, nothing is written to the text stream.
TextWriter Class | TextWriter Members | System.IO Namespace | TextWriter.Write Overload List