Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting method in sub class
Message
De
31/03/2015 10:02:04
 
 
À
31/03/2015 09:26:01
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01617154
Message ID:
01617490
Vues:
24
>>You couldn't (without walking the hierarchy). But since the IsMethodExistInSubClass() method is in the base class (so, by definition, you know the base class) I don't see why you need to pass it (or Me) at all. AFAICS your base class just needs to be something like this (check for non-existent method omitted):

After more tests on this, I have found that using assignation like this to a class name causes memory problems and this results in unexpected behaviors at various locations. I had to put back the old code. Unless there would be a way to establish a reference to an object, for the last verification to the base class, I would have to rely on the original code.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform