Clone Method

Fabrica Bolos GLPK

Collapse imageExpand ImageCopy imageCopyHover image
Creates a new object of type T that is a copy of the current instance.

Namespace: Common
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0

Syntax

C#
T Clone()
Visual Basic
Function Clone As T
Visual C++
T Clone()

Return Value

A new object of type T that is a copy of this instance.

Remarks

Clone can be implemented either as a deep copy or a shallow copy. In a deep copy, all objects are duplicated; whereas, in a shallow copy, only the top-level objects are duplicated and the lower levels contain references.

See Also