DocumentNode GetPersistedVersion Method TIBCO Spotfire 6.0 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: 13.19.7018.3940 (13.19.7018.3940)
Syntax

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

Parameters

info
Type: System.Runtime.Serialization SerializationInfo
The serialization info.
context
Type: System.Runtime.Serialization StreamingContext
The streaming context.
type
Type: System Type
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.
See Also