SerializerSurrogateGetDeserializedObject Method |
The GetDeserializedObject method converts the surrogated type
instance to the original type instance. It is required for
deserialization.
Return input object, if not handling type.
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public Object GetDeserializedObject(
Object obj,
Type targetType
)
Public Function GetDeserializedObject (
obj As Object,
targetType As Type
) As Object
public:
virtual Object^ GetDeserializedObject(
Object^ obj,
Type^ targetType
) sealed
Parameters
- obj
- Type: SystemObject
The deserialized object to be substituted. - targetType
- Type: SystemType
The Type that the substituted object should be assigned to.
Return Value
Type:
ObjectThe substituted deserialized object.
Implements
ISerializationSurrogateProviderGetDeserializedObject(Object, Type)See Also