Creates a new object that is a copy of the current instance.
The supplied handle containing class needs to implement the ICloneable interface as well.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public Object Clone()
Public Function Clone As Object
public: virtual Object^ Clone() sealed
public final Object Clone()
Return Value
A new object that is a copy of this instance.