2017年12月18日

C# 反射通过GetCustomAttributes方法,获得自定义特性

摘要: http://blog.csdn.net/litao2/article/details/17633107 使用反射访问: 自定义属性的信息和对其进行操作的方法。 一、实例1 1、代码: 如:System.Attribute[] attrs=System.Attribute.GetCustomAttr 阅读全文

posted @ 2017-12-18 13:52 chengjunde 阅读(1647) 评论(0) 推荐(0) 编辑

导航