The Tool Window Types

In addition to having a Window object abstraction, each default tool window in the IDE—the command window, output window, Toolbox window, and Task List window—is also represented by a discrete type that exposes methods and properties unique to that tool window. Table 13.7 lists the default tool windows and their underlying types in the automation object model.

Table 13.7 Tool Windows and Their Types

image

To reference one of these objects, you first start with its Window representation and then cast its Window.Object value to the matching type. For instance, this VB snippet starts with a Window reference to the Task List window ...

Get Microsoft® Visual Studio® 2010 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.