ArcObjects Library Reference  (System)    

IClone.Clone Method

Clones the receiver and assigns the result to *clone.

[Visual Basic 6.0]
Function Clone As IClone
[Visual Basic .NET]
Public Function Clone ( _
) As IClone
[C#]
public IClone Clone (
);
[Java]
public Iclone clone (
)
throws
    IOException,
    AutomationException
[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.

[Visual Basic 6.0]
Dim pCloned as IClone 
Dim pSource as IClone 

Set pSource = New MarkerElement 
Set pCloned = pSource.Clone 

See Also

IClone Interface

 


Feedback Send feedback on this page