T
CSharpTest.Net
DeepClone<T> Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Cloning Namespace > ClonableExtensions Class : DeepClone<T> Method

instance

Glossary Item Box

Provides a deep-clone of objects using either serialization routines if available or memberwize cloning when serialization is not supported. See also: new SerializerClone().Clone<T>(instance)

Syntax

Visual Basic (Declaration) 
Public Shared Function DeepClone(Of T)( _
   ByVal instance As T _
) As T
C# 
public static T DeepClone<T>( 
   T instance
)

Parameters

instance

Type Parameters

T

Requirements

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

See Also

Generated with Document! X 2011 by Innovasys