SelectionEvents Property

       

Returns the Events object for the selection.

Syntax

Property Get SelectionEvents () As SelectionEvents

Remarks

Whenever something is selected in the development environment, the environment creates a model of the selection. The events provided by the Events object in this case let add-ins know when the SelectedItems collection is updated.