阅读背景:

如何使用反射调用.NET中的重载方法

来源:互联网 

Is there a way to Invoke an overloaded method using reflection in .NET (2.0). I have an application that dynamically instantiates classes that have been derived from a common base class. For compatibility purposes, this base class contains 2 methods of the same name, one with parameters, and one without. I need to call the parameterless method via the Invoke method. Right now, all I get is an error telling me that I'm trying to call an ambiguous method.Is there a way to Invoke an overloaded method u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: