class tool tips

scorpin

Newcomer
Joined
Oct 6, 2003
Messages
24
when using microsofts class's you are awarded with a discription of what each perameter of the function is when you come to enter it, how would i do that?
 
This is called the XML Documentation that can be generated while coding. VB.NET right now doesnt support the generation of it but C# does.
 
This is one reason why I use C# instead of VB. :( Those comments help after you've made a nice little class library and distribute it to others (or use it yourself in various projects).
 
You could write a utility to do it for you. The XML documentation is stored separately from the class, so you could write a utility to generate XML docs for your class.

C:\WINNT\Microsoft.NET\Framework\v1.0.3705\System.Windows.Forms.xml contains the docs for the Winforms classes, for example.


That may be my next project. :p
 
Back
Top