Čítať v angličtine

Zdieľať cez


IObjectOutput.WriteObject(Object) Method

Definition

Write an object to the underlying storage or stream.

C#
[Android.Runtime.Register("writeObject", "(Ljava/lang/Object;)V", "GetWriteObject_Ljava_lang_Object_Handler:Java.IO.IObjectOutputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void WriteObject (Java.Lang.Object? obj);

Parameters

obj
Object

the object to be written

Attributes

Exceptions

if an error occurs while writing to the target stream.

Remarks

Write an object to the underlying storage or stream. The class that implements this interface defines how the object is written.

Java documentation for java.io.ObjectOutput.writeObject(java.lang.Object).

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

Produkt Verzie
.NET for Android .NET for Android API 34, .NET for Android API 35