Skip to content

M_CodeJam_Mapping_Map_DeepCopy__1

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

Map.DeepCopy(T) Method

Performs deep copy.

Namespace: CodeJam.Mapping
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0

Syntax

C#

public static T DeepCopy<T>(
	this T obj
)

VB

<ExtensionAttribute>
Public Shared Function DeepCopy(Of T) ( 
	obj As T
) As T

F#

[<ExtensionAttribute>]
static member DeepCopy : 
        obj : 'T -> 'T 

Parameters

 

obj
Type: T
An object to copy.

Type Parameters

 

T
Type of object.

Return Value

Type: T
Created 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

Reference

Map Class
CodeJam.Mapping Namespace

Clone this wiki locally