DeserializationContextGetPersistedVersion Method

TIBCO Spotfire 11.4 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: 51.0.16121.3915 (51.0.16121.3915)
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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference