D
dennist
I'm reading a book named Programming Microsoft Visual
Basic.NET for Microsoft Access Databases.
On page 49 there's a section on derived classes that
confuses me.
Quote:
"A derived class may refer to the overridden
version of a method or the base class implementation of a
method. You can use the MyBase and MyClass keywords to
clarify these references. To designate the base class
implementation of an overridden method in a derived
class, use MyBase.Method1 . To specify the overridden
derived class implementation of the same method in the
base class, use MyClass.Method1. If a method is not
overridden in a derived class, MyBase.Method1 .. Both
MyBase and MyClass are just keywords, not objects and are
used exclusively with methods."
Fine. But what do I do if I'm using more than one
derived class? How do I differentiate between the
different classes for the keywords.
dennist
Basic.NET for Microsoft Access Databases.
On page 49 there's a section on derived classes that
confuses me.
Quote:
"A derived class may refer to the overridden
version of a method or the base class implementation of a
method. You can use the MyBase and MyClass keywords to
clarify these references. To designate the base class
implementation of an overridden method in a derived
class, use MyBase.Method1 . To specify the overridden
derived class implementation of the same method in the
base class, use MyClass.Method1. If a method is not
overridden in a derived class, MyBase.Method1 .. Both
MyBase and MyClass are just keywords, not objects and are
used exclusively with methods."
Fine. But what do I do if I'm using more than one
derived class? How do I differentiate between the
different classes for the keywords.
dennist