Extending Visual Studio Analyzer

   

You can customize your components to generate your own Visual Studio Analyzer events. Several Microsoft-supplied technologies, including Component Object Model (COM) and ActiveX™ Data Objects (ADO), are shipped with the ability to generate Visual Studio Analyzer events, and if your components use any of these technologies, you can access a wide range of Visual Studio Analyzer information without having to modify your components. However, if the Microsoft-supplied technologies and events do not provide enough information for your needs, you can define your own events for your components.

Although in most cases you do not need to modify your components to take advantage of the Visual Studio Analyzer events that the Microsoft-supplied technologies generate, you do need to add code to your components if you want to define your own events. This code must register the component with Visual Studio Analyzer, identify the events the component will generate, and generate the events themselves.

To find out more about extending components to interact with Visual Studio Analyzer, see the following sections:

Section Description
Understanding How Visual Studio Analyzer Works Provides information on the parts of Visual Studio Analyzer and how they work together.
Guidelines for Customizing Your Application Provides generic and language-specific information for customizing your applications for Visual Studio Analyzer.
Microsoft Components That Generate Visual Studio Analyzer Events Describes the Microsoft-supplied technologies that are capable of generating Visual Studio Analyzer events.