ISerializationSurrogateProvider.GetDeserializedObject(Object, Type) Method

Definition

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

public object GetDeserializedObject (object obj, Type targetType);

Parameters

obj
Object

The deserialized object to be substituted.

targetType
Type

The Type that the substituted object should be assigned to.

Returns

The substituted deserialized object.

Applies to

Product Versies
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0