E
Elroyskimms
I know that multiple class inheritance is not possible in VB.Net I also
know that I can:
inherit class a
and in class a:
inherit class b
and in class b:
inherit System.Web.UI.Page
and so on and so forth, thus allowing me to effectively "inherit"
classes a, b, c, and system.windows.forms.form by inheriting class a in
my code. Now, for the question at hand. Lets say I need my project to
inherit from a system namespace, using the following:
Inherits System.Web.Services.WebService
And I also need to inherit classes a, b, and c... How can I make that
happen? It seems like I can import an unlimited amount of custom
classes by calling them via the hierarhy I described above. However,
using this method, I can only ultimately inherit from one system
namespace in the entire project, and I have a project that needs to
inherit both the WebService and WebPage classes... how can I do that?
Thanks in advance!
know that I can:
inherit class a
and in class a:
inherit class b
and in class b:
inherit System.Web.UI.Page
and so on and so forth, thus allowing me to effectively "inherit"
classes a, b, c, and system.windows.forms.form by inheriting class a in
my code. Now, for the question at hand. Lets say I need my project to
inherit from a system namespace, using the following:
Inherits System.Web.Services.WebService
And I also need to inherit classes a, b, and c... How can I make that
happen? It seems like I can import an unlimited amount of custom
classes by calling them via the hierarhy I described above. However,
using this method, I can only ultimately inherit from one system
namespace in the entire project, and I have a project that needs to
inherit both the WebService and WebPage classes... how can I do that?
Thanks in advance!