DeserializationContextGetPersistedVersion Method TIBCO Spotfire 7.12 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: 30.0.11525.4184 (30.0.11525.4184)
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: 7.9, 7.8, 7.7, 7.6, 7.5, 7.12, 7.11, 7.10, 7.0
See Also

Reference