Java.IO.ObjectOutputStream.DefaultWriteObject Method
Default method to write objects to this stream.

Syntax

[Android.Runtime.Register("defaultWriteObject", "()V", "GetDefaultWriteObjectHandler")]
public virtual void DefaultWriteObject ()

See Also

ObjectInputStream.DefaultReadObject

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while writing to the target stream.
Java.IO.NotActiveExceptionif this method is not called from writeObject().

Remarks

Default method to write objects to this stream. Serializable fields defined in the object's class and superclasses are written to the output 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