TextWriterWrite Method (Boolean) |
Writes the text representation of a Boolean value to the text stream.
Namespace: System.IOAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public virtual void Write(
bool value
)
Parameters
- value
- Type: SystemBoolean
The Boolean to write.
Exceptions Exception | Condition |
---|
ObjectDisposedException | The TextWriter is closed. |
IOException | An I/O error occurs. |
See Also