Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting method in sub class
Message
From
31/03/2015 09:00:38
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01617154
Message ID:
01617484
Views:
21
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform