Android Guides | Samples

Android.OS.Parcel.WriteSerializable Method

Write a generic serializable object in to a Parcel.

Syntax

[Android.Runtime.Register("writeSerializable", "(Ljava/io/Serializable;)V", "")]
public Void WriteSerializable (ISerializable s)

Parameters

s

Remarks

Write a generic serializable object in to a Parcel. It is strongly recommended that this method be avoided, since the serialization overhead is extremely large, and this approach will be much slower than using the other approaches to writing data in to a Parcel.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1