Visual Studio API Reference

Explore the comprehensive API reference for Microsoft Visual Studio. This section provides detailed documentation for APIs, namespaces, classes, methods, properties, and events that you can use to extend and automate Visual Studio.

Core APIs

Microsoft.VisualStudio.Shell Namespace

Provides classes and interfaces for interacting with the Visual Studio extensibility model, including commands, menus, tool windows, and project items.

Namespace

Microsoft.VisualStudio.Editor Namespace

Contains types for working with the Visual Studio text editor, enabling rich text manipulation, code analysis, and IntelliSense features.

Namespace

Microsoft.VisualStudio.Package Namespace

Classes for creating custom language services and editors within Visual Studio.

Namespace

Extensibility Features

DTE (EnvDTE) Object Model

The core object model for automating Visual Studio, allowing programmatic control over projects, files, solutions, and the IDE itself.

Object Model

Extensibility Project Templates

Reference documentation for creating VSIX projects, including custom commands, tool windows, and editor extensions.

Guidance

Visual Studio SDK

Information and API details for the Visual Studio Software Development Kit (SDK).

SDK Documentation

Specific API Categories

Commands and Menus

APIs for defining, querying, and executing commands, and for manipulating the Visual Studio menu hierarchy.

Category

Editor APIs

Documentation for the classes and interfaces used to interact with and customize the Visual Studio editor experience.

Category

Project System APIs

APIs related to the development and customization of project systems within Visual Studio.

Category

Debugging APIs

Information about extending the Visual Studio debugger with custom engines and interfaces.

Category