|Visual Basic (Usage)||Copy Code|
Dim instance As DrawingBase Dim destination As IDrawing instance.Copy(destination)
- The destination.
Cloning is implemented not at this level, but in each inherited class. This is because each child will have properties that may need to be cloned that this class will not know about. The copy class allows for these child classes to call Copy to copy all of the shared properties from the Base class.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2