c#利用反射获取对象属性值
摘要:
public static string GetObjectPropertyValue(T t, string propertyname){Typetype =typeof(T);PropertyInfoproperty = type.GetProperty(propertyname);if (pr... 阅读全文
posted @ 2015-03-04 14:49 PEIYANGXINQU 阅读(129) 评论(0) 推荐(0) 编辑