IDataContractSurrogate::GetDeserializedObject Method (Object^, Type^)
During deserialization, returns an object that is a substitute for the specified object.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
The deserialized object to be substituted.
In a simple implementation, use an if…then…else control structure to test whether the obj value is of the surrogated type. If so, transform it as necessary and return the substituted object. The substituted object can be a new instance or the same obj instance.
Available since 3.0