+7  A: 

Type in /// on the line before your function and hit return It will generate the stuff required for you to fill in for that stuff to occur. In VB type '''

This will generate an area where you can specify a description for the function and each parameter for the function

Solmead
To emphasize: That is triple-slash in C++/C# (normal comments are double-slash). And in VB, its two single-quotes, not a double-quote.
abelenky
It's actually three single quotes in vb
Joel Coehoorn
Actually, in VB, it's 3 single quotes: '''
hometoast
us VB-folk are always left out XD
hometoast
+2  A: 

Do XML commenting , like this

/// <summary>
/// This does something that is awesome
/// </summary>
public void doesSomethingAwesome() {}
Michael Walts
A: 

Solmead has the correct answer. For more info you can look at XML Comments.

Ed Swangren
+1  A: 

use /// to begin each line of hte comment and have the comment contain the appropriate xml for the meta data reader.

///<summary>
/// this method says hello
///</summary>
public void SayHello();

Although personally, I believe that these comments are usually misguided, unless you are developing classes where the code cannot be read by its consumers.

DevelopingChris
they're good for shortcuts reminders, or anywhere you have library code where maybe the code is readable but it takes a little extra work to get to it.
Joel Coehoorn
I agree with you in theory, but if you use that ghostdoc thing, then you are raising the noise/signal ratio to such an extent that the rest of the comments are useless.
DevelopingChris
A: 

Also the visual studio add-in ghost doc will attempt to create and fill-in the header comments from your function name.

Mark Rogers
+9  A: 

What you need is xml comments - basically, they follow this syntax (as vaguely described by Solmead):

C#

///<summary>
///This is a description of my function.
///</summary>
string myFunction() {
     return "blah";
}

VB

'''<summary>
'''This is a description of my function.
'''</summary>
Function myFunction() As String
    Return "blah"
End Function
Tomas Lycken
Hm.. I'm sorry that SO couln't color the VB code a little more pedagogically...
Tomas Lycken
vb actually uses three single quotes for xml comments, not two
Joel Coehoorn
Wupp! You are, of course, correct - but I had to open VS and try it out before I believed you ;) Thanks for correcting me, though!
Tomas Lycken
+4  A: 

Those are called XML Comments. They have been a part of Visual Studio since forever.

You can make your documentation process easier by using GhostDoc, a free add-in for Visual Studio which generates XML-doc comments for you. Just place your caret on the method/property you want to document, and press Ctrl-Shift-D.

Here's an example from one of my posts.

Hope that helps :)

hmemcpy
Thanks for mentioning GhostDoc.
Ali