IEventHandler Interface

Definition

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

public interface class IEventHandler
public interface class IEventHandler
__interface IEventHandler
[System.Runtime.InteropServices.Guid("9BDA66AE-CA28-4e22-AA27-8A7218A0E3FA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IEventHandler
type IEventHandler = interface
Public Interface IEventHandler
Attributes

Methods

AddHandler(String)

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

GetHandledEvents()

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

HandlesEvent(String)

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

RemoveHandler(String)

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

Applies to