CSharpTest.Net
CloneDefault Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Cloning Namespace > SerializerClone Class : CloneDefault Method

instance

Glossary Item Box

If the object provided is [Serializable] a simulated serialization routine is used to duplicate the object, if it's not serializable then the MemberwiseClone base class will perform the copy.

Syntax

Visual Basic (Declaration) 
Protected Overrides Function CloneDefault( _
   ByVal instance As Object _
) As Object
C# 
protected override object CloneDefault( 
   object instance
)

Parameters

instance

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys