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


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

IClone.Assign Method

Assigns the properties of src to the receiver.

[Visual Basic .NET]
Public Sub Assign ( _
    ByVal src As IClone _
)
[C#]
public void Assign (
    IClone src
);
[C++]
HRESULT Assign(
  IClone* src
);
[C++]
Parameters
src [in]

src is a parameter of type IClone*

Product Availability

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

Description

Use Assign method to assign the properties of source object to receiver object. Both objects need to have the same CLSIDs. Both source and receiver objects need to be instantiated.

See Also

IClone Interface