IdeaBlade DevForce 2010 Help Reference
DeepClone(Object) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > ReflectionCloner Class > DeepClone Method : DeepClone(Object) Method



objectGraph
Object that will be cloned
Creates a deep clone of the specified object, also creating clones of all referenced child and nested objects.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function DeepClone( _
   ByVal objectGraph As Object _
) As Object
Visual Basic (Usage)Copy Code
Dim objectGraph As Object
Dim value As Object
 
value = ReflectionCloner.DeepClone(objectGraph)
C# 
public static object DeepClone( 
   object objectGraph
)
C++/CLI 
public:
static Object^ DeepClone( 
   Object^ objectGraph
) 

Parameters

objectGraph
Object that will be cloned

Return Value

A deep clone of the provided object

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.