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


IClone.Clone Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IC > IClone Interface > IClone.Clone Method
ArcGIS Developer Help

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(
void
);

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