DocumentNodeGetPersistedVersion Method TIBCO Spotfire 7.6 API Reference
Can be used in the deserialization constructor to get the persistence version that this class was marked with when it was originally serialized. Will return null if the specified caller type has no correspondence in the serialized information

Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
protected PersistenceVersionAttribute GetPersistedVersion(
	SerializationInfo info,
	StreamingContext context,
	Type type
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The serialization info.
context
Type: System.Runtime.SerializationStreamingContext
The streaming context.
type
Type: SystemType
The caller type. IMPORTANT: Do not use this.GetType(), use typeof(MyClass) instead if called in MyClass.

Return Value

Type: PersistenceVersionAttribute
PersistenceVersionAttribute, or null if the specified caller type has no correspondence in the serialized information.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference