摘要:
反射判断 某个对象 是否 是泛型集合的类型[代码]获取类实例[代码]获取指定属性代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicstaticPropertyInfoGetPropertyByName(Typetype,stringpropertyName){returntype.GetProperty(propertyName,BindingFlags.Public|BindingFlags.IgnoreCase|Bindin 阅读全文
posted @ 2011-02-12 18:09
索马
阅读(529)
评论(0)
推荐(0)

浙公网安备 33010602011771号