Share via


IEventHandler Members

Include Protected Members
Include Inherited Members

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

The IEventHandler type exposes the following members.

Methods

 

Name

Description

Public method

AddHandler

When implemented by a derived class, adds a named handler to an event handler collection.

Public method

GetHandledEvents

When implemented by a derived class, returns an enumerator over all the handlers added by successive calls to AddHandler.

Public method

HandlesEvent

When implemented by a derived class, determines whether a named handler is in the event handler collection.

Public method

RemoveHandler

When implemented by a derived class, removes a named handler from the collection of event handlers.

Top

See Also

Reference

IEventHandler Interface

Microsoft.VisualStudio Namespace