Condividi tramite


ObjectOutputStream.PutFields Method

Definition

Retrieve the object used to buffer persistent fields to be written to the stream.

[Android.Runtime.Register("putFields", "()Ljava/io/ObjectOutputStream$PutField;", "GetPutFieldsHandler")]
public virtual Java.IO.ObjectOutputStream.PutField? PutFields ();
[<Android.Runtime.Register("putFields", "()Ljava/io/ObjectOutputStream$PutField;", "GetPutFieldsHandler")>]
abstract member PutFields : unit -> Java.IO.ObjectOutputStream.PutField
override this.PutFields : unit -> Java.IO.ObjectOutputStream.PutField

Returns

an instance of the class Putfield that holds the serializable fields

Attributes

Exceptions

if an I/O error occurs.

if this method is not called from writeObject().

Remarks

Java documentation for java.io.ObjectOutputStream.putFields().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also