Re: Yet another Reflection / Interface Question

Tech-Archive recommends: Fix windows errors by optimizing your registry



rowe_newsgroups <rowe_email@xxxxxxxxx> wrote:
Unfortunately, you confirmed my fears - I was just hoping in my
"newness" to reflection I was missing something. I guess I could use
reflection to just call the methods as you suggest, but how do I map
the events and get/set the properties? Sorry, this is really my first
exposure to reflection. Any good links for this?

Events and properties are available in reflection in the same way as
methods - Type.GetProperty and Type.GetEvent. Look at PropertyInfo and
EventInfo for what you can then do with them.

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.



Relevant Pages