Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting method in sub class
Message
De
31/03/2015 09:00:38
 
 
À
31/03/2015 08:58:16
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:
01617484
Vues:
20
>>Hmm. Don't think so. The type of toOriginator will be the that of the child class instance. You need to explicitly test the DeclaringType against the base (root) class

toOriginator is the base class.

This detection is called from the base class only. The Me being passed here is from the base class:
        ' If the method exists in the client class
        If loReflection.IsMethodExistInSubClass(Me, "InitializeWithRow") Then
        End If
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