Home All Groups Group Topic Archive Search About

How to provide hint on sub params?

Author
5 Apr 2005 12:44 AM
Brett
Many VB.NET subs will provide hints when  you start with the open
parentheses for parameters.  Also, there are hints on methods.  For example,

    Console.

will provide additional information for all methods/properties pertaining to
Console.

How can I provide that with subs or functions I create?

Thanks,
Brett

Author
5 Apr 2005 3:17 AM
Crouchie1998
I saw this exact question asked by a user called Nimpo & answered by James
Crowley on the http://www.developerfusion.com/forums/forum-7 VB.NET forum
website around 4-6 months ago.

I have a search on the site & I cannot seem to find the post, but I do
remember the question being asked on there

Sorry, that I am unable to be of more help

Crouchie1998
BA (HONS) MCP MCSE
Author
5 Apr 2005 5:03 AM
Anand[MVP]
If you mean the single line description, this is taken from the XML comments.
With framework 1.1, you either can manually create this file or use for the
the VB commenter addins available. The C# compiler automatically creates this
file.

Else if you are using .NET 2.0, then the XML comments feature is available
in VB too.

Rgds,
Anand M
http://www.dotnetindia.com

Show quoteHide quote
"Brett" wrote:

> Many VB.NET subs will provide hints when  you start with the open
> parentheses for parameters.  Also, there are hints on methods.  For example,
>
>     Console.
>
> will provide additional information for all methods/properties pertaining to
> Console.
>
> How can I provide that with subs or functions I create?
>
> Thanks,
> Brett
>
>
>
Author
5 Apr 2005 4:34 PM
Herfried K. Wagner [MVP]
"Brett" <no@spam.net> schrieb:
> Many VB.NET subs will provide hints when  you start with the open
> parentheses for parameters.  Also, there are hints on methods.  For
> example,
>
>    Console.
>
> will provide additional information for all methods/properties pertaining
> to Console.
>
> How can I provide that with subs or functions I create?

Adding IntelliSense tooltips, XML comments, and documentation
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=tooltipsxmldocumentation&lang=en>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>