DeserializationContextGetPersistedVersion Method

Spotfire 14.3 API Reference
Gets the persisted version of the object of the specified type deserialized from the specified info.

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 PersistenceVersionAttribute GetPersistedVersion(
	SerializationInfo info,
	Type type
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The info.
type
Type: SystemType
The type.

Return Value

Type: PersistenceVersionAttribute
The persisted version.
Remarks

This method returns null if the serialized data was not associated to the specified type. This occurs for example when type is a new Type in the middle of the inheritance hierarchy that has been added after the serialized data was constructed.
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