Summary
The Visual Studio automation object model is a deep and wide API that exposes many of the IDE components to managed code running as an add-in in the IDE. This chapter documented how this API is organized and described its capabilities in terms of controlling the Visual Studio debugger, editors, windows, tool windows, solutions, and projects.
We also discussed the eventing model exposed by the API and looked at the API’s capabilities with regard to accessing the underlying code structure for a project, issuing commands inside the IDE, and editing text documents programmatically.
Using the methods and properties expressed on the automation objects, you can automate common tasks in the IDE and extend Visual Studio in ways that address your ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access