Dave Burke - Freelance .NET Developer specializing in Online Communities

A freelance .NET Developer

Determining order of intellisense overloaded methods

I decided a few days ago I was going to streamline my DropDownList code, so I created a class to hold DoDropDown method variants.  Essentially its gives me a one-line call to handle the complete dropdown setup and binding process.  It uses SqlHelper and other classes unique to my app, and I find it a big timesaver.  In using it over there weekend I realized I didn't like the order of the intellisense list, since the first options were not my most used method choices.  I changed the order of the overloaded methods in the class by my use preference and sure enough they appeared in intellisense that way. Sweet.

 

Posted: Sep 28 2003, 11:27 PM by daveburke | with 2 comment(s)
Filed under:

Comments

Terrence said:

Hmm... I can never get this to work for me. It seems I always get the overload with the most parameters first. This is the exact opposite of what I want. :-(
# February 19, 2004 1:10 PM

Ola said:

I'm using VS2008 and I've never been able to get this to work. As far as I can see, Intellisense will just order the overloads based on ascending string order, including the whole method declaration.

If anyone finds a way to trick it, please make it public!

# October 1, 2008 7:11 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)