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: 66.0.19621.1485 (66.0.19621.1485)
Syntax
C#
protected string GetPersistedTypeName( 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: StringThe persisted type name, or an empty string if the specified caller type has no correspondence in the serialized information.
Version Information
Supported in: 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also