neelbak
asked on
Tooltip to describe class functions
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
end property
'This is my description of Var2 that I wish to display
Public Property Var2() as integer
end property
'This is my description of the function.
Public Sub AddThese()
end Sub
end class
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.
end sub
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
end property
'This is my description of Var2 that I wish to display
Public Property Var2() as integer
end property
'This is my description of the function.
Public Sub AddThese()
end Sub
end class
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.
end sub
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Not the answer I was hoping for. But it was accurate. Thanks.
Hi,
Is that feature present in the VB.NET 2005 ?
Is that feature present in the VB.NET 2005 ?
when typing /// at the 3rd "/" you will receive a list for every parameter , remarks and return for the current method