[Mono-list] Adding missing Attributes to System.Web
Dwivedi , Ajay Kumar
Wed, 12 Jun 2002 12:35:49 +0100
> Unfortunately (AFAIK, it's been a while...) you can only get
> the Type of
> an Attribute that's applied to a class
> (Type.GetCustomAttributes()), not
> an instantiation of that attribute (Type vs. RuntimeType). I couldn't
> find a way to get the value of a property from just a Type.
I think its otherwise. You get an *instance* of the attribute.
And you can get the values of parameters on it.