Java.IO.ObjectOutputStream.WriteFields Method
Writes the fields of the object currently being written to the target stream.

Syntax

[Android.Runtime.Register("writeFields", "()V", "GetWriteFieldsHandler")]
public virtual void WriteFields ()

See Also

ObjectOutputStream.PutFields

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while writing to the target stream.
Java.IO.NotActiveExceptionif there are no fields to write to the target stream.

Remarks

Writes the fields of the object currently being written to the target stream. The field values are buffered in the currently active PutField object, which can be accessed by calling putFields().

[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