ArcObjects Library Reference (System)  

IClone.Clone Method

Clones the receiver and assigns the result to *clone.

[Visual Basic .NET]
Public Function Clone ( _
) As IClone
[C#]
public IClone Clone (
);
[C++]
HRESULT Clone(
  IClone** Clone
);
[C++]

Parameters

Clone [out, retval]

  Clone is a parameter of type IClone

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The Clone method is similar to the Assign method except that the receiver object does not need to be cocreated.

See Also

IClone Interface

.NET Samples

Create custom move, rotate, and scale GeometricEffects within a single project (Code Files: clsGE_Transform_Move clsGE_Transform_Rotate clsGE_Transform_Scale) | Use an AlgorithmicColorRamp to color a ClassBreaksRenderer (Code Files: AlgorithmicColorRamp) |

.NET Related Topics

Converting simple data | Creating custom symbols | Creating indexes | How to create a sketch operation | Implementing cloning |