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 represented by a discrete type that exposes methods and properties unique to that tool window. Table 14.7 lists the default tool windows and their underlying types in the automation object model.

Image

TABLE 14.7 Tool Windows and Their Types

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 C# snippet starts with a Window reference to the Task List window ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition 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.