DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
DotNetDupe::System::IClonable Interface Referenceabstract

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

#include <Clonable.h>

Public Member Functions

virtual ~IClonable ()=default
 Virtual destructor for polymorphic cleanup.
virtual Object Clone ()=0
 Creates a new object that is a copy of the current instance.

Detailed Description

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

Standard Citation: ECMA-335 CLI Common Language Infrastructure.

Definition at line 15 of file Clonable.h.

Constructor & Destructor Documentation

◆ ~IClonable()

virtual DotNetDupe::System::IClonable::~IClonable ( )
virtualdefault

Virtual destructor for polymorphic cleanup.

Member Function Documentation

◆ Clone()

virtual Object DotNetDupe::System::IClonable::Clone ( )
pure virtual

Creates a new object that is a copy of the current instance.

Returns
A new object that is a copy of this instance.

The documentation for this interface was generated from the following file: