.Net reflection to get developers comments about class / property etc?
Posted
by ClarkeyBoy
on Stack Overflow
See other posts from Stack Overflow
or by ClarkeyBoy
Published on 2010-04-14T16:00:38Z
Indexed on
2010/04/14
16:03 UTC
Read the original article
Hit count: 460
Hi,
I know its unlikely but I was wondering if there is any way to get the comments (i.e. the bits after the ''') of a class or property..? I have managed to get a list of properties of a class using the PropertyInfo class but I cant find a way to get the comments / description.. I need it for a guide I am writing for the administrators of my site - it would be great if it could automatically update if new properties are added, so there is no need to worry about updating it in the future too much. Anyone know how to do this? Thanks in advance.
Regards,
Richard
© Stack Overflow or respective owner