DocumentNode GetPersistedTypeName Method TIBCO Spotfire 6.0 API Reference
Can be used in the deserialization constructor to get the type name that the class corresponding to this class had 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 string GetPersistedTypeName(
	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: String
The persisted type name, or an empty string if the specified caller type has no correspondence in the serialized information.
See Also