Udostępnij za pośrednictwem


ObjectOutputStream.WriteBoolean(Boolean) Method

Definition

Writes a boolean.

[Android.Runtime.Register("writeBoolean", "(Z)V", "GetWriteBoolean_ZHandler")]
public virtual void WriteBoolean (bool val);
[<Android.Runtime.Register("writeBoolean", "(Z)V", "GetWriteBoolean_ZHandler")>]
abstract member WriteBoolean : bool -> unit
override this.WriteBoolean : bool -> unit

Parameters

val
Boolean

the boolean to be written

Implements

Attributes

Exceptions

if an error occurs while writing to the target stream.

Remarks

Writes a boolean.

Java documentation for java.io.ObjectOutputStream.writeBoolean(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to