Version

CloneSerializableObject Method

Creates and returns a deep copy clone of the object
Syntax
'Declaration
 
Public Shared Function CloneSerializableObject( _
   ByVal source As ISerializable, _
   ByVal binder As SerializationBinder _
) As Object
public static object CloneSerializableObject( 
   ISerializable source,
   SerializationBinder binder
)

Parameters

source
The object to be cloned.
binder
Used to control class loading and mandate what class to load.

Return Value

The cloned object
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also