Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Reflection to instantiate a class
Message
From
08/07/2006 14:01:18
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Using Reflection to instantiate a class
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01134699
Message ID:
01134699
Views:
57
I use Reflection to be able to call a specific method of a class. So, I can identify a string containing the method name and use Reflection to call it. However, this times, I need to do the opposite. I need to be able, from a string containing a class name, to create an instance of it, and then call a method named List.
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
Next
Reply
Map
View

Click here to load this message in the networking platform