Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inheritance Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
Programmation orienté objet
Divers
Thread ID:
00977571
Message ID:
00977604
Vues:
30
>The sub routine I created in the base, 'MyBaseSub', does not appear in the
>inherited form.

In C# you have to define the method as "virtual" in VB.Net you have to define it as "Overridable".

This assume you want to override the method, i.e. put code in it in the subclass. If you just want to call it, the virtual/overrideable isn't necessary.

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform