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.
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 ...