Inherited Class and .Clone method..[RESOLVED]
I created my own class:
Code:
Public Class M3ListViewItem
Inherits System.Windows.Forms.ListViewItem
Private mintType As Integer
Public Property Type() as Integer...
End Class
In order to add a Type variable to the ListViewItem class that already existed.
The problem is when I call the Clone method, I get a regular ListViewItem back and the Type property is reset to Zero. How can I get around this?
I tried overloading the Clone method, but I can't return a different type on an overloaded method...
Thanks,
Ben