Udostępnij za pośrednictwem


Automation Event Objects

All available event objects are represented as properties on the Events2 object. Following is a complete list of the event objects in the Visual Studio automation model. To see the events that each object offers, click the link.

Event Objects

Object Name

Description

BuildEvents

Provides events for solution builds.

CodeModelEvents

Provides events that occur in code.

CommandBarEvents

Provides events for controls on the Command Bar.

CommandEvents

Provides command events for add-ins.

DebuggerEvents

Provides events for the debugger.

DocumentEvents

Provides events for documents in the integrated development environment (IDE).

DTEEvents

Provides events for the state of the IDE.

Events

Represents all events in the automation model.

FindEvents

Provides events for text and file search operations.

OutputWindowEvents

Provides events for the Output window.

PublishEvents

Provides events for ClickOnce publishing.

ProjectItemsEvents

Provides events for project items.

ProjectsEvents

Provides events for projects.

SelectionEvents

Provides events for changes made to items contained in a selection.

SolutionEvents

Provides events for solutions.

TaskListEvents

Provides events for the Task List.

TextDocumentKeyPressEvents

Provides events when keys are pressed while editing a text document.

TextEditorEvents

Provides events when document text is changed.

WindowEvents

Provides events for windows such as when they are opened or closed.

WindowVisibilityEvents

Provides events for the visibility of windows, such as when they are hidden or displayed.

See Also

Other Resources

Responding to Automation Events