ISerializable
Description
- Extended by
-
IColorRamp
ICurve
IDatumTransform
IDocumentNode
IGeoObject
IGeoRegistry
IHeightmapFormat
INoiseFunctionBase
IRasterTransform
IShape
JsonValue sealed
SerializableBase abstract
SerializableDisposableBase abstract
A class that supports serialization must implement this interface.
Every solid (i.e. non-abstract) class that implements the ISerializable interface must provide a public default constructor.
Public / Methods
Deserialize
Initializes the state of this object from the given data stream.
The Deserialize method will be called immediately after the object has been instantiated via its default constructor.
The provided serialVersion in number is guaranteed to be equal to or less than the SerialVersion returned by this object (i.e. ISerializable object must provide backwards compatibility).
- IOException
-
If an I/O error has occurred.
Serialize
Serializes the current state of this object to the given data stream.
- IOException
-
If an I/O error has occurred.
Public / Attributes
SerialVersion
Returns the serial data version.
A ISerializable implementation is required to support all versions up to the one returned by SerialVersion.
SerialVersionWrite
Returns the serial data version to use for the subsequent call to Serialize.
The default implementation returns SerialVersion. It may be overridden to write an older version, for backward compatibility.
- See also