03.19 Understanding Commands: Simple Commands

VERSIONS

2005, 2008, 2010

CODE

vstipTool0067

Just about everything you do in Visual Studio comes with an associated command. But what exactly is a command?

According to the MSDN documentation (http://msdn.microsoft.com/en-us/library/kcc7tke7.aspx), commands “allow direct interaction with the integrated development environment (IDE) from the keyboard. Dialog boxes, windows, and other items within the IDE have a command equivalent that you can type into the Command window or Find/Command box to display and, in some cases, execute the item.”

In plain English, commands allow you to perform actions in Visual Studio. Let’s take adding a class as an example.

First, let’s examine the typical way you add a class. ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.