public abstract object[] GetCustomAttributes(bool inherit);
这是GetCustomAttributes方法的一个重载,参数为bool类型
返回一个object数组,用以保存对象中的自定义属性(attribute)
参数为true时包括子类中的自定义属性
转载于:https://www.cnblogs.com/nele/p/4979474.html
public abstract object[] GetCustomAttributes(bool inherit);
这是GetCustomAttributes方法的一个重载,参数为bool类型
返回一个object数组,用以保存对象中的自定义属性(attribute)
参数为true时包括子类中的自定义属性
转载于:https://www.cnblogs.com/nele/p/4979474.html