|
-
February 17th, 2009, 01:36 PM
#1
still messing with reflecting the constructor
Is there a robust way to get a constructor with string parameter by reflection?
I have no choice, but instantiate a class without knowing if the constructor belongs to it, a base class, or come intermediate class in the inheritance chain.
[Vb.NET 2008 (ex Express)]
-
February 17th, 2009, 02:03 PM
#2
Re: still messing with reflecting the constructor
 Originally Posted by Marraco
Is there a robust way to get a constructor with string parameter by reflection?
I have no choice, but instantiate a class without knowing if the constructor belongs to it, a base class, or come intermediate class in the inheritance chain.
I used the .getconstructor method, in a for next, and tried every possible binding flags, but no without result.
[Vb.NET 2008 (ex Express)]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|