Multiple inheritance in VB.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is ther a way, to do multiple inheritence(Implementation based) in VB.NET
I am aware of interface based, but i need to know if there is any way to get
around and do implementation based Multiple Inheritence.

The situation is that, i have written seprate classes to parse a XML
document, now the requirement has arrived, in which i just need to create an
object which can
inherits from those classe that i have already written.
 
N S S said:
Is ther a way, to do multiple inheritence(Implementation based) in VB.NET
I am aware of interface based, but i need to know if there is any way to
get
around and do implementation based Multiple Inheritence.

The situation is that, i have written seprate classes to parse a XML
document, now the requirement has arrived, in which i just need to create
an
object which can
inherits from those classe that i have already written.

AFAIK, no in VB. You'll need to use interfaces. Now, in C++...
 
Hi Peter,

Managed code doesn't support multiple inheritance, regardless of language,
does it? So, even managed C++ is out, right?

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 
Dick Grier said:
Hi Peter,

Managed code doesn't support multiple inheritance, regardless of language,
does it? So, even managed C++ is out, right?

Dick
I believe you are correct. I was referring to the C++ language itself.
 
Back
Top