Click or drag to resize

SerializerSurrogateFilePathGetDeserializedObject Method

During deserialization, returns an object that is a substitute for the specified object.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public Object GetDeserializedObject(
	Object obj,
	Type targetType
)

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: Object
The substituted deserialized object. This object must be of a type that is serializable by the DataContractSerializer. For example, it must be marked with the DataContractAttribute attribute or other mechanisms that the serializer recognizes.

Implements

IDataContractSurrogateGetDeserializedObject(Object, Type)
See Also