欢迎加我的QQ群:193522571,一起来讨论、交流!

反射取得静态类中的属性,方法,字段

Type BstrType = typeof(CadBaseSet);
DataTable dt = (DataTable)BstrType.GetField(sTableOrFolderName).GetValue(BstrType);

posted @ 2021-11-19 15:11  swtool  阅读(61)  评论(0编辑  收藏  举报
欢迎加我的QQ群:193522571,一起来讨论、交流!