Click or drag to resize

SystemExtensionsCloneT Method

Perform a deep Copy of the object. Reference Article http://www.codeproject.com/KB/tips/SerializedObjectCloner.aspx Provides a method for performing a deep copy of an object. Binary Serialization is used to perform the copy.

Namespace:  Slash.Unity.DataBind.Core.Utils
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static T Clone<T>(
	this T source
)

Parameters

source
Type: T
The object instance to copy.

Type Parameters

T
The type of object being copied.

Return Value

Type: T
The copied object.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also