Re: Access subclass attributes from base
- From: Jeroen Mostert <jmostert@xxxxxxxxx>
- Date: Thu, 20 Dec 2007 00:15:11 +0100
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.
.
- References:
- Re: Access subclass attributes from base
- From: Jeroen Mostert
- Re: Access subclass attributes from base
- Prev by Date: Re: Access subclass attributes from base
- Next by Date: Re: Access subclass attributes from base
- Previous by thread: Re: Access subclass attributes from base
- Next by thread: Re: Access subclass attributes from base
- Index(es):
Loading