Power Commands for VS2008 has a command to do this, plus lots of other neat tools
http://code.msdn.microsoft.com/PowerCommands
You could also write a macro to do it, and assign it to a key combination
http://weblogs.asp.net/israelio/archive/2007/09/06/visual-studio-collapse-selected-node.aspx