D
Duncan Aitken
All,
I have a question regarding modifying the metadata of a compiled
assembly at runtime. I am creating objects to be added to a
PropertyGrid control. In particular, I would like to modify the
[Category("...")] and [Description("...")] attribute sections of the
functions of objects added to the property grid, based on data read in
at runtime. I had a look at the Reflection.Emit functionality, but I
couldn't find anything that would allow the modification of an
existing class. Is what I am trying to do possible - is the attribute
metadata stored on an instance level or a class level? Any ideas?
Thanks,
Duncan.
I have a question regarding modifying the metadata of a compiled
assembly at runtime. I am creating objects to be added to a
PropertyGrid control. In particular, I would like to modify the
[Category("...")] and [Description("...")] attribute sections of the
functions of objects added to the property grid, based on data read in
at runtime. I had a look at the Reflection.Emit functionality, but I
couldn't find anything that would allow the modification of an
existing class. Is what I am trying to do possible - is the attribute
metadata stored on an instance level or a class level? Any ideas?
Thanks,
Duncan.