SerializationContext Class

Spotfire 14.3 API Reference
The context used when a DocumentNode is serialized.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Framework.PersistencePersistenceContextBase
    Spotfire.Dxp.Framework.PersistenceSerializationContext

Namespace:  Spotfire.Dxp.Framework.Persistence
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public class SerializationContext : PersistenceContextBase

The SerializationContext type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetPersistingVersion
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 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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference