Java.IO.IObjectOutput.WriteObject Method
Writes the specified object obj to the target stream.

Syntax

[Android.Runtime.Register("writeObject", "(Ljava/lang/Object;)V", "GetWriteObject_Ljava_lang_Object_Handler:Java.IO.IObjectOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void WriteObject (Java.Lang.Object obj)

Parameters

obj
the object to write.

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while writing to the target stream.

Remarks

Writes the specified object obj to the target 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