The context used when a DocumentNode is serialized.
Inheritance Hierarchy
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
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
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 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. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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