I'm trying to allow tooltips to show up while I program. For example, I have created a class with multiple properties and functions. When I create an instance of that object and start programming in it, VB.NET will list out all the members of the class and also what the declaration is. I was wondering how I can add a description to that tooltip that gives a more descriptive explanation of that class/parameters.
Here is a brief description of my class
Public Class MyClass
Private var1 as integer
Private var2 as integer
'This is my description of Var1 that I wish to display
Public Property Var1() as integer
'This is my description of Var2 that I wish to display
Public Property Var2() as integer
'This is my description of the function.
Public Sub AddThese()
Now when I program:
Dim x as new MyClass
when I type x.Var1 I would like a description to show up that I had above the function.
I believe this is accomplished using attributes, but not sure. I would appreciate any sample code. Thanks.