Bewerken

Delen via


ISerializationSurrogateProvider.GetDeserializedObject(Object, Type) Method

Definition

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

public:
 System::Object ^ GetDeserializedObject(System::Object ^ obj, Type ^ targetType);
public object GetDeserializedObject (object obj, Type targetType);
abstract member GetDeserializedObject : obj * Type -> obj
Public Function GetDeserializedObject (obj As Object, targetType As Type) As Object

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