Name
MyBase Keyword
Synopsis
MyBase
Description
Provides a reference to the base class from within a derived class. If you want to call a member of the base class from within a derived class, you can use the syntax:
MyBase.MemberName
where MemberName
is the name of the
member. This will resolve any ambiguity if the derived class also has
a member of the same name.
Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.