DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 07 Aug 2007 13:33:21 -0400,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    lucius am
          2    Jon Skeet [C# MVP]
          3    (Walter Wang [MSFT])
          4    (Walter Wang [MSFT])


Reflection for Comments?   
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.
Date:Tue, 07 Aug 2007 13:33:21 -0400   Author:  

Re: Reflection for Comments?   
lucius <lucius@newsgroup.nospam> wrote:

> 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.

-- 
Jon Skeet - 
http://www.pobox.com/~skeet   Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Date:Tue, 7 Aug 2007 18:38:53 +0100   Author:  

RE: Reflection for Comments?   
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.
Date:Wed, 08 Aug 2007 04:28:08 GMT   Author:  

RE: Reflection for Comments?   
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.
Date:Mon, 13 Aug 2007 01:27:43 GMT   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us