C# 反射通过GetCustomAttributes方法,获得自定义特性
摘要:http://blog.csdn.net/litao2/article/details/17633107 使用反射访问: 自定义属性的信息和对其进行操作的方法。 一、实例1 1、代码: 如:System.Attribute[] attrs=System.Attribute.GetCustomAttr
阅读全文
posted @ 2017-12-18 13:52
posted @ 2017-12-18 13:52
posted @ 2016-05-13 17:22
posted @ 2016-05-06 17:53