This document is archived and information here might be outdated.  Recommended version.


IClone.Clone Method (ArcObjects .NET 10.5 SDK)
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