L
Lothar Behrens
Hi,
I have created a base class implementing an interface and a derived
class also implementing
the same interface. While figuring out that I am unable to call the
derived method of an instance
or the derived class I have added the keyword Overloads to the
function.
But this does not help. Why do I get these troubles ?
Thanks, Lothar
I have the following code:
Public Interface IDoSomething
Sub DoSomething()
End Interface
Public Class Adresse
Inherits MyBaseDLL.MyBaseClass
Implements MyInterfaces.IDoSomething
Public Sub DoSomething() Implements
MyInterfaces.IDoSomething.DoSomething
' Do log something
End Sub
End Class
Public Class KontaktAdresse
Inherits Adresse
Implements MyInterfaces.IDoSomething
Public Overloads Sub DoSomething()
MyBase.DoSomething()
' Do log something
End Sub
End Class
I have created a base class implementing an interface and a derived
class also implementing
the same interface. While figuring out that I am unable to call the
derived method of an instance
or the derived class I have added the keyword Overloads to the
function.
But this does not help. Why do I get these troubles ?
Thanks, Lothar
I have the following code:
Public Interface IDoSomething
Sub DoSomething()
End Interface
Public Class Adresse
Inherits MyBaseDLL.MyBaseClass
Implements MyInterfaces.IDoSomething
Public Sub DoSomething() Implements
MyInterfaces.IDoSomething.DoSomething
' Do log something
End Sub
End Class
Public Class KontaktAdresse
Inherits Adresse
Implements MyInterfaces.IDoSomething
Public Overloads Sub DoSomething()
MyBase.DoSomething()
' Do log something
End Sub
End Class