共用方式為


IDE-Defined Commands, Menus, and Groups

Many menus, commands and command groups are already defined for use by the Visual Studio IDE. These commands are also available for your use when you extend Visual Studio.

Finding Environment-Defined Commands

The environment commands are defined in a set of four .vsct files:

  • SharedCmdDef.vsct

  • SharedCmdPlace.vsct

  • ShellCmdDef.vsct

  • ShellCmdPlace.vsct

These files are located in <Visual Studio SDK installation path>\VisualStudioIntegration\Common\Inc\. These files provide the definitions and GUIDs of the menus and groups that you can use in the command table configuration (.vsct) file of your VSPackage as containers for your own menus, groups, and commands.

In This Section

See Also

Concepts

IDE-Defined Commands for Extending Project Systems

How VSPackages Add User Interface Elements to the IDE

Other Resources

Visual Studio Command Table (.Vsct) Files