Jason Whitehorn

MarshalByRefObject.net
posts - 48, comments - 26, trackbacks - 6

My Links

News

Archives

Post Categories

.NET

Java

Proud Member Of...

XNA

Accessing XML Comments At Runtime

UPDATE (12/17/2007): My blog has moved. This post is now located at: http://jason.whitehorn.ws/2006/07/02/Accessing-XML-Comments-At-Runtime.aspx




I have wondered for a long time how to access a Types XML comment data at run-time. I know that comments are normally thrown away in languages, but I figured that .NET must keep the XML comments around somewhere, how else could they display the information through intellisense for user created DLLs.
Well, according to this article that I just found, the XML comments are thrown away like all other comments at compile time.
It seems that intellisense attempts to load a separate .XML file to display the comments.

The article provides some interesting insight into how it works, I suggest that you look into it if that sort of thing interest you.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Saturday, July 01, 2006 1:38 AM | Filed Under [ .NET ]

Comments have been closed on this topic.

Powered by: