SerializationContext Methods TIBCO Spotfire 7.6 API Reference

The SerializationContext type exposes the following members.

Methods

  Name Description
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method Static member GetPersistingVersion
Gets the PersistenceVersionAttribute defining in which version the document is being saved. This method is intended to be called by the GetObjectData method during serialization.

When the document is saved in compatibility mode the document graph and all objects in it are serialized twice, first with the intention of saving the latest version and then saving an earlier version that can be opened by an earlier version of TIBCO Spotfire. An object that needs to adapt its persisted data so that the saved file can be interpreted by an earlier version of the associated class can switch on the value returned by this method.

Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Top
See Also

Reference