O'Reilly logo

Microsoft® Visual Basic® 2010 Developer’s Handbook by Klaus Löffelmann and Sarika Calla Purohit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Overriding Methods and Properties

By now, you probably agree that overriding classes is quite a brilliant concept. It helps you to structure your programs better, makes them easier to read, and helps you to build bigger and more complex projects, cleanly. But classes wouldn’t be so evolutionary if it weren’t for the ability to access certain functions of a base class from within the code of the derived class. Classes that bind to others can become extremely flexible.

Replacing methods or properties with others in a derived base class requires the base class to allow certain members to be overridden; these functions, methods, or properties must be explicitly marked so that they can be overridden later. In Visual Basic, the keyword Overridable is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required