ToolTip Help for User Defined Methods

  • Thread starter Thread starter Vinod I
  • Start date Start date
V

Vinod I

Hi Team,


I am making a Datalayer with lot of methods. I want to give "ToopTip" help
of each parametrs to the users of these methods and classes.

What should I do to achieve above in C#.

Thanks in advance.

Cheeeeeeeeeers !!!
 
Use the XML comments which are generated in C# when you enter "///" before
the methods and properties. Then set the project to build the XML
documentation file by right clicking the project and specifying the output
directory and filename for the XML doc file. Finally, distribute this XML
file with your DLL and the intellisense information will be displayed when
your component is used at design time.

--
Bob Powell [MVP]
C#, System.Drawing

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

Read my Blog at http://bobpowelldotnet.blogspot.com
 
Hi,

Thanks Bob, for that bit of knowledge.
I tryedthe stuff. But its not working as I may be not using it properly.
If u can explain bit more that will be helpful. Also, please mention the
link where i can look into.

Thanks
 
Take a look in the MSDN help for the /doc command line switch for the C#
compiler. (entitled "/doc Process Documentation Commands") it explains how
to use the generated XML file and how to have Visual Studio generate the
file for you.

You may also wish to read up on XML Documentation which is also available
from a search of MSDN

--
Bob Powell [MVP]
C#, System.Drawing

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

Read my Blog at http://bobpowelldotnet.blogspot.com
 
Thanks Bob. Its working now........



Bob Powell said:
Take a look in the MSDN help for the /doc command line switch for the C#
compiler. (entitled "/doc Process Documentation Commands") it explains how
to use the generated XML file and how to have Visual Studio generate the
file for you.

You may also wish to read up on XML Documentation which is also available
from a search of MSDN

--
Bob Powell [MVP]
C#, System.Drawing

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

Read my Blog at http://bobpowelldotnet.blogspot.com
 
Back
Top