PersistenceManagerRegistrar Methods TIBCO Spotfire 7.6 API Reference

The AddInPersistenceManagerRegistrar type exposes the following members.

Methods

  Name Description
Public method AddAssemblyBinding
Adds a binding of an entire assembly.
Public method AddFieldRename
Adds a binding for the field with the specified originalFieldName in a class of the specified originalAssemblyName and originalTypeName of a PersistenceVersion less than the specified majorUpperVersion and minorUpperVersion. If the class or struct containing the originalFieldName is being deserialized as the specified boundType, value of the field is deserialized and bound to the specified newFieldName.
Public method AddFieldTypeBinding
Adds a binding for the specified fieldName in the class or struct specified by definingType. The value of such fields are deserialized as the specified fieldType.
Public method AddNamespaceRename
Adds a binding for a namespace rename.
Public method Code example AddTypeBinding
Adds a binding of a type with the specified original assembly and type name. Use this method to add support for backwards compatibility with respect to removed types. When an object with the specified specified original assembly and type, marked with a PersistenceVersion attribute less than the specified majorUpperVersion and minorUpperVersion, is encountered in the serialized format, an object of the specified boundType will be deserialized in place of the original type.
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 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