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.
Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public void AddFieldRename( string originalAssemblyName, string originalTypeName, int majorUpperVersion, int minorUpperVersion, Type boundType, string originalFieldName, string newFieldName )
Parameters
- originalAssemblyName
- Type: SystemString
Name of the assembly of the serialized class. - originalTypeName
- Type: SystemString
Name of the type of the serialized class. - majorUpperVersion
- Type: SystemInt32
The upper exclusive bound of the major version of the serialized class. - minorUpperVersion
- Type: SystemInt32
The upper exclusive bound of the minor version of the serialized class. - boundType
- Type: SystemType
The Type of the class or struct being deserialized required for the field rename to be made. - originalFieldName
- Type: SystemString
Name of the field in the serialized class. - newFieldName
- Type: SystemString
The name of the field as expected by the deserialization code of the specified boundType.
Remarks
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