Click or drag to resize
TextWriterWrite Method (Object)
Writes the text representation of an object to the text stream by calling ToString on that object.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual void Write(
	Object value
)

Parameters

value
Type: SystemObject
The object to write.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe TextWriter is closed.
IOExceptionAn I/O error occurs.
See Also