Java.IO.ObjectOutputStream.WriteUnshared Method
Writes an unshared object to the target stream.

Syntax

[Android.Runtime.Register("writeUnshared", "(Ljava/lang/Object;)V", "GetWriteUnshared_Ljava_lang_Object_Handler")]
public virtual void WriteUnshared (Java.Lang.Object object)

See Also

ObjectInputStream.ReadUnshared

Parameters

object
the object to write to the target stream.

Exceptions

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

Remarks

Writes an unshared object to the target stream. This method is identical to writeObject, except that it always writes a new object to the stream versus the use of back-referencing for identical objects by writeObject.

[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