Share via


ObjectOutputStream.PutFields Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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();

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

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35, .NET for Android API 36

See also