Oracle® Coherence .NET API Reference Release 3.6
E15727-01

Serialize an object into its binary form.

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

Syntax

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

Parameters

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

Return Value

Serialized binary representation of the specified object.

See Also