Reflection for Comments?

  • Thread starter Thread starter lucius
  • Start date Start date
L

lucius

I have a .NET DLL and .PDB and .XML. Is there a way to get the XML
comments from a given piece of code via a Type's Reflection on itself?

Thanks.
 
lucius said:
I have a .NET DLL and .PDB and .XML. Is there a way to get the XML
comments from a given piece of code via a Type's Reflection on itself?

No - the framework itself has no concept of the XML comments as far as
I'm aware.
 
Hi Lucius,

Please see following MSDN Magazine article:

#.NET Matters: XML Comments, Late-bound COM, and More -- MSDN Magazine,
June 2004
http://msdn.microsoft.com/msdnmag/issues/04/06/NETMatters/
There are no classes in the .NET Framework written specifically for the
purpose of mining and working with these XML comments, but functionality
exposed from the System.Xml namespace can be used to make that task quite
straightforward. In fact, in the code download for this column I've
included a class that lets you use the syntax you've described.


Hope this helps.


Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Lucius,

I'm writing to check the status of this post. Please feel free to let me
know if there's anything else I can help. Thanks.

Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top