Re: Access subclass attributes from base



Jeroen Mostert wrote:
<snip>
You can use Object.GetType() to get the concrete type of the instance, and Type.GetAttributes() to get the attributes of that type.

Oops, that's Attribute.GetCustomAttribute[s](), of course.

--
J.
.


Loading