Edit

Share via


ICopyContext.RecordCopy(Object, Object) Method

Definition

Record an object-to-copy mapping into the current serialization context. Used for maintaining the .NET object graph during serialization operations. Used in generated code.

public void RecordCopy (object original, object copy);
abstract member RecordCopy : obj * obj -> unit
Public Sub RecordCopy (original As Object, copy As Object)

Parameters

original
Object

Original object.

copy
Object

Copy object that will be the serialized form of the original.

Applies to