0
Answer

Method Pop-up in VS 2003 C#

Ron Kamzol

Ron Kamzol

18y
1.7k
1

In VS 2003 when using a method that is already defined in C#, you get some extra info about the method used. For instance:

SqlCommand sqlCom = new SqlCommand(strsql, mSqlConnection);

When you type in the first "(" and push the left-arrow, a tooltip shows with that extra info, in this case it says:

2 of 4 SqlCommand.SqlCommand(string cmText, System.Data.SqlClient.SqlConnection connection) Initializes a new instance of the System.Data.SqlClient.SqlCommand with the text of the query and a System.Data.SqlClient.sqlConnection.

When I make my own method:

DoSomething(string s, int i)
{
  //some code here
}

and call it in my app it only show the following info:

void WebForm1.DoSomething(string s, int i)

Now when i make my own method I would like VS 2003 to show some extra info about that method (like the italic text above). Is that possible and if so how do I do that?

I want to do this because my methods are used by several other developers.