Megosztás a következőn keresztül:


Responding to Events (Visual Basic and Visual C# Projects)

Environment events are divided into two categories, general environment events and environment events that apply to specific types of projects. General environment events include window events, task list events, tool window events, and so on.

Environment events specific to Visual C#, Visual Basic, and Visual J# projects are defined in VSLangProj and VSLangProj80. The EnvDTE80 namespace contains two event objects specific to projects. These are ProjectsEvents and ProjectItemsEvents objects and they are also available per project type basis. However, ProjectsEvents and ProjectItemsEvents are defined for all project types in the Visual Studio Integrated development environment (IDE). Events that apply to specific types of projects are reference events, import events (Visual Basic only), Web reference events, build manager events, projects events and project items events.

In This Section

Reference

  • VSProjectEvents2
    Extends the VSProjectEvents class. The new class provides access to web reference events.

  • Events2
    Allows access to all events in the extensibility model. Events may also be exposed from specific objects within the extensibility model.