Java.IO.ObjectInputStream.ReadObject Method
Reads the next object from the source stream.

Syntax

[Android.Runtime.Register("readObject", "()Ljava/lang/Object;", "")]
public Java.Lang.Object ReadObject ()

See Also

ObjectOutputStream.WriteObject(Java.Lang.Object)

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.ClassNotFoundExceptionif the class of one of the objects in the object graph cannot be found.
Java.IO.IOExceptionif an error occurs while reading from the source stream.
Java.IO.OptionalDataExceptionif primitive data types were found instead of an object.

Remarks

Reads the next object from the source stream.

[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