Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Serialize an object into its Binary form.

Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public static Binary ToBinary(
	Object o,
	ISerializer serializer
)

Parameters

o
Type: System..::..Object
Object to serialize.
serializer
Type: Tangosol.IO..::..ISerializer
ISerializer to use.

Return Value

Serialized Binary representation of the specified object.

Exceptions

ExceptionCondition
System.IO..::..IOException If an I/O error occurs.

See Also