function comments on mouseover...

i am programming in vb.net 2005... standard app or smart app.

Does anyone know how i can set the comments for a function here is an example of what i am talking about... well as best i can discribe.

public class test

end class

public class form1

dim t as new test()

* if i mouse over "t" i would see comments and/or function arguements

* i thought it was ifuncinfo but, i dont think thats right.

end class

thanks in advance,

Fing



Answer this question

function comments on mouseover...

  • SParker1

    are you talking about xml comments try adding the ''' above the method declaration, see if this helps

  • kenmarz

    as ahmedilyas suggested if you type 3 consecutive comment marks just before your routine it will insert the xml comments that will show up in the object browser to define the method:

    ''' <summary>

    '''

    ''' </summary>

    ''' <param name="sender"></param>

    ''' <param name="e"></param>

    ''' <remarks></remarks>

    Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

    End Sub



  • function comments on mouseover...