2012年4月24日
摘要: ACKD:自定义类。object[] s =typeof(ACKD).GetCustomAttributes(true);//获取该类上施加的 Attribute System.Reflection.PropertyInfo[] propertyInfoArray = typeof(ACKD).GetProperties();//获取该类的所有属性集合 propertyInfoArray[0].GetCustomAttributes(true);//取得属性集合0元素的Attribute System.Reflection.MethodInfo[] methodInfoArra... 阅读全文
posted @ 2012-04-24 17:26 harry 刘 阅读(1373) 评论(0) 推荐(0)