Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting method in sub class
Message
De
31/03/2015 10:17:34
 
 
À
31/03/2015 10:02:04
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:
01617491
Vues:
19
>>>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

Can't see why that would be happening. What exactly are you seeing ?

> 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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform