ICloneable Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Supports cloning, which creates a new instance of a class with the same value as an existing instance.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

type ICloneable =  interface end

The ICloneable type exposes the following members.

  NameDescription
Public methodCloneCreates a new object that is a copy of the current instance.
Top

The ICloneable interface contains one member, Clone, which is intended to support cloning beyond that supplied by MemberwiseClone. For more information about cloning, deep versus shallow copies, and examples, see the Object..::..MemberwiseClone method.

Show: