Udostępnij za pośrednictwem


ObjectOutputStream.WriteFields Method

Definition

Write the buffered fields to the stream.

[Android.Runtime.Register("writeFields", "()V", "GetWriteFieldsHandler")]
public virtual void WriteFields ();
[<Android.Runtime.Register("writeFields", "()V", "GetWriteFieldsHandler")>]
abstract member WriteFields : unit -> unit
override this.WriteFields : unit -> unit
Attributes

Exceptions

if an error occurs while writing to the target stream.

if there are no fields to write to the target stream.

Remarks

Write the buffered fields to the stream.

Added in 1.2.

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

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