0

Inherited = true我用and创建了一个自定义属性AllowMultiple = true。然后我使用GetCustomAttributes方法来检索自定义属性,包括继承的属性。

我的问题是:在迭代由 找到的自定义属性数组时GetCustomAttributes,是否可以知道特定属性实例是继承还是类型“直接”属性?

4

0 回答 0