AddIn PersistenceManagerRegistrar AddFieldTypeBinding Method TIBCO Spotfire 6.0 API Reference
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.

Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public void AddFieldTypeBinding(
	Type definingType,
	string fieldName,
	Type fieldType
)

Parameters

definingType
Type: System Type
Type of the class or struct that defines the field.
fieldName
Type: System String
Name of the field in the definingType.
fieldType
Type: System Type
The Type that the value of the field shall deserialize as.
Remarks

Use this class to add support for backwards compatibility with respect to type changes of fields in a class or struct. Note that the new type of the field (specified by fieldType) must be able to deserialize itself from the serialized info stored by the old type of the field.
See Also