Functional Automation Groups
The automation object model consists of a few, expansive functional groups of objects. These objects control major facets of the integrated development environment (IDE) and apply to all project types in Visual Studio. Understanding how these groups work makes it easier to understand and use the model.
The objects in these functional groups are fully outlined in the. The groups are:
Solution, project, and project item objects.
Code editor objects.
Code definition manipulation objects.
Tool window and document manipulation objects.
Tool window-specific objects, such as the Task List, Output window, and Toolbox.
Each functional group consists of one or more related objects, collections, or interfaces that contribute to a particular purpose. For example, the primary function of the Event objects group is to provide access to events occurring in the IDE. One such object in this group is theobject, which allows you to respond to events that occur in the Task List. Another in this group is the object, which allows you to respond to events that occur in a build operation, such as the beginning or completion of a build.
Project-Specific Automation Models
In addition to the "core" automation model — so called, because any Visual Studio language can it — each language in Visual Studio offers one or more project-specific automation models to access its special features. For Visual Basic, Visual C#, and Visual J# projects, that model is located in the following assemblies:
For more information about this functionality, see.
For Visual C++, the assemblies are:
They represent (respectively), the Visual C++ specific code model, the Visual C++ project model, and the Visual C++ wizard model.