Did you know… You can sort objects and members in the Object Browser? – #221

On the context menu for either the Object Pane (left) or Member Pane (top-right), you can sort by four different options: Alphabetically, Object Type, Object Access, or Group by Object Type.

Sorting in Object Browser

Alphabetically is self-explanatory.  Object type will have the following effect.  Notice how Classes appear first in the list, then Structures, then Enums.

Sorting by Type

Next is sort by Object Access.  Notice in the example below how the first three classes of the foobar namespace are public, but the fourth is private.

Sorting by Access

And lastly, is Group by Object Type. As shown in the Microsoft.VisualBasic.dll, all objects are grouped by what type of creature they are.

Grouping by Type

And of course you can rinse and repeat for the Members pane.

Member Pane Sort

Comments (1)

  1. My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Carlos Quintero posted links to help solve a System.UnauthorizedAccessException when registering a Visual Studio add-in for COM Interop

Skip to main content