C# Type.GetType 返回NULL 问题解决记录

Type.GetType("OP.Client.Html.Resources.KenFengFormMethod");

从Dll里面获取KenFengFormMethod这个会返回Null

这种需要

Type.GetType("OP.Client.Html.Resources.KenFengFormMethod,OP.Client.Html.Resources");

再原来的基础上加个逗号和Dll名称就行了

 

 

转载于:https://www.cnblogs.com/qhbm/p/9958944.html

你可能感兴趣的:(C# Type.GetType 返回NULL 问题解决记录)