This documentation is archived and is not being maintained.

_DTE.Events Property

Gets a reference to the Events object.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Events Events { get; }

Property Value

Type: EnvDTE.Events
A Events object.

The Events object gives you access to all events in the extensibility model.

Sub EventsExample()
  Dim findevt As FindEvents
  findevt = DTE.Events.FindEvents
End Sub