NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

StreamWriter.Write (String)

Writes a string of characters to the text stream.

[Visual Basic]
Overloads Overrides Public Sub Write( _
   ByVal value As String _
)
[C#]
public override void Write(
   string value
);
[C++]
public: override void Write(
   String* value
);
[JScript]
public override function Write(
   value : String
);

Parameters

value
A string of characters.

Exceptions

Exception Type Condition
IOException An I/O error occurs.

Remarks

The characters are read from value. All characters are written to the underlying stream unless the end of the underlying stream is reached prematurely. Flush is invoked automatically if AutoFlush is true. If value is a null reference (in Visual Basic Nothing), no operation is performed.

See Also

StreamWriter Class | StreamWriter Members | System.IO Namespace | StreamWriter.Write Overload List