Export (0) Print
Expand All

IEventHandler Interface

Provides the methods necessary to add, remove, and test for the existence of handlers in an event handler collection.

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

public interface IEventHandler

The IEventHandler type exposes the following members.

Public methodAddHandlerWhen implemented by a derived class, adds a named handler to an event handler collection.
Public methodGetHandledEventsWhen implemented by a derived class, returns an enumerator over all the handlers added by successive calls to AddHandler.
Public methodHandlesEventWhen implemented by a derived class, determines whether a named handler is in the event handler collection.
Public methodRemoveHandlerWhen implemented by a derived class, removes a named handler from the collection of event handlers.
© 2014 Microsoft