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!

TextWriter.Write (Object)

Writes the text representation of an object to the text stream.

[Visual Basic]
Overloads Overridable Public Sub Write( _
   ByVal value As Object _
)
[C#]
public virtual void Write(
   object value
);
[C++]
public: virtual void Write(
   Object* value
);
[JScript]
public function Write(
   value : Object
);

Parameters

value
The object to write.

Exceptions

Exception Type Condition
ArgumentNullException A a null reference (in Visual Basic Nothing) string or object is passed.
IOException An I/O error occurs.

Remarks

If the specified object is null, the string "null" is written to the text stream. Otherwise, the object's ToString method is called to produce the string representation, and the resulting string is then written to the output stream.

See Also

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