Q
Qwert
Hello,
question regarding the following code:
Public Class MyCol
Inherits System.Collections.SortedList
....
Public Sub MyFunction( objMyClass As MyClass )
End Sub
....
End Class
How is it possible to create a NEW instance of the object MyClass inside
MyFunction (without adding functionality to MyClass)?
Something like:
Dim objNew As Object = CreateNewInstance( objMyClass )
Thanks.
question regarding the following code:
Public Class MyCol
Inherits System.Collections.SortedList
....
Public Sub MyFunction( objMyClass As MyClass )
End Sub
....
End Class
How is it possible to create a NEW instance of the object MyClass inside
MyFunction (without adding functionality to MyClass)?
Something like:
Dim objNew As Object = CreateNewInstance( objMyClass )
Thanks.