|
-
Nov 9th, 2017, 11:36 AM
#8
Re: VB.Net > ASP - What I thought should work, isn`t
Ah, you are Overloading not overriding, there is a big difference.
If you have methods in a base class that you want a derived class to be able to replace then the base class needs to mark them as overridable (similar to virtual in Java), the derived class then needs to mark it's implementation as overrides to get the polymorphic behaviour you want.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|