Click or drag to resize
TextWriterWrite Method (Boolean)
Writes the text representation of a Boolean value to the text stream.

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

Parameters

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