Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2007

Tip: Looking for answers? Try searching our database.

Reflection for Comments?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lucius - 07 Aug 2007 18:33 GMT
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.
Jon Skeet [C# MVP] - 07 Aug 2007 18:38 GMT
> 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.

Signature

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

Walter Wang [MSFT] - 08 Aug 2007 05:28 GMT
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 (wawang@online.microsoft.com, 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.
Walter Wang [MSFT] - 13 Aug 2007 02:27 GMT
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 (wawang@online.microsoft.com, 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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.