Condividi tramite


Command Routing in VSPackages

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

A command is routed in Visual Studio based on the context in which it is executed. It is routed from the initial context outward to the global context.

In This Section

Routing Algorithm
Describes the order of command routing resolution.

Availability
Discusses command routing.

Commands and Menus That Use Interop Assemblies
Discusses considerations in routing commands between managed code and COM.

Selection Context Objects
Discusses the model for how you can determine the user's selection context focus on a window.

Commands, Menus, and Toolbars
Explains how to create a UI that includes menus, toolbars, and command combo boxes.