IExternalizable.WriteExternal(IObjectOutput) 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.
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
[Android.Runtime.Register("writeExternal", "(Ljava/io/ObjectOutput;)V", "GetWriteExternal_Ljava_io_ObjectOutput_Handler:Java.IO.IExternalizableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void WriteExternal (Java.IO.IObjectOutput? out);
[<Android.Runtime.Register("writeExternal", "(Ljava/io/ObjectOutput;)V", "GetWriteExternal_Ljava_io_ObjectOutput_Handler:Java.IO.IExternalizableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member WriteExternal : Java.IO.IObjectOutput -> unit
Parameters
- out
- IObjectOutput
the stream to write the object to
- Attributes
Exceptions
if an error occurs attempting to write to output
.
Remarks
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
Java documentation for java.io.Externalizable.writeExternal(java.io.ObjectOutput)
.
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.