When I type some Class, e.g. Console, then press ctrl+space and intellisense show hint "Class System.Console Represents standart input, output and error streams...." How programmatically get this text. Can't find in google, may be I'm stupid noob. Thanks.
views:
41answers:
4
+1
A:
You can't. This is a documentation string parsed by IntelliSense and does not exist in the exe or dll file at runtime.
Stephen Cleary
2010-06-09 11:29:03
A:
You can parse .xml file with documentation if you know where it's located.
EDIT: If you'd like to get documentation from .NET classes, you can see folders in C:\Windows\Microsoft.NET\Framework
and find there files .xml with xml-documentation.
Pavel Belousov
2010-06-09 11:29:19
I need this functional on developer machine where VS and MSDN installed. So i nedd some ideas how intellisense do it and do it myself.
2010-06-09 11:38:50
VS takes .xml file with documentation, parses it, and shows you hint. Documentation for class Console you can find in file mscorlib.xml. (C:\Windows\Microsoft.NET\Framework\v2.0.50727\)
Pavel Belousov
2010-06-09 11:48:58
A:
You get some of that info through Reflection. Like MethodInfo that shows the information about a method.
Wolf5
2010-06-09 11:34:39