< Free Open Study > 


Command objects can be executed both from a macro and from an add-in. They normally represent menu commands that you can find on the various menus of the IDE.

Command (Object)

The Command object relates to a command in the IDE. You can reference the Command object by using DTE.Commands.Item(index). You can invoke any command in the IDE by using DTE.ExecuteCommand in the Macros IDE. You can do the same thing in an add-in by using appObj.ExecuteCommand.

Commands (Collection)

The Commands collection contains all of the Command objects in the IDE.

 < Free Open Study > 

Writing Add-Ins for Visual Studio  .NET
Writing Add-Ins for Visual Studio .NET
ISBN: 1590590260
EAN: 2147483647
Year: 2002
Pages: 172
Authors: Les Smith © 2008-2017.
If you may any questions please contact us: