Java.IO.RandomAccessFile.WriteBoolean Method
Writes a boolean to this file as a single byte (1 for true, 0 for false), starting at the current file pointer.

Syntax

[Android.Runtime.Register("writeBoolean", "(Z)V", "")]
public void WriteBoolean (bool val)

See Also

RandomAccessFile.ReadBoolean

Parameters

val
the boolean to write to this file.

Exceptions

TypeReason
Java.IO.IOExceptionif this file is closed or another I/O error occurs.

Remarks

Writes a boolean to this file as a single byte (1 for true, 0 for false), starting at the current file pointer.

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1