Click or drag to resize

BinaryWriterWrite(Boolean) Method

Writes a one-byte Boolean value to the current stream, with 0 representing false and 1 representing true and advances the current file pointer one byte.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public virtual void Write(
	bool value
)

Parameters

value  Boolean
Boolean value to write (0 or 1).
Exceptions
ExceptionCondition
IOExceptionAn I/O error occurs.
ObjectDisposedExceptionThe file is closed.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also