System.ComponentModel.EventHandlerList Class

Provides a simple list of delegates. This class cannot be inherited.

See Also: EventHandlerList


public sealed class EventHandlerList : IDisposable


This class uses a linear search algorithm to find entries in the list of delegates. A linear search algorithm is inefficient when working with a large number of entries. Therefore, when you have a large list, finding entries is slow.


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,

The members of System.ComponentModel.EventHandlerList are listed below.

See Also: Object

Public Constructors

Initializes a new instance of the EventHandlerList class.

Public Properties

default property

Public Methods

AddHandler(Object, Delegate)

Adds a delegate to the list.


Adds a list of delegates to the current list.


Disposes the delegate list.

RemoveHandler(Object, Delegate)

Removes a delegate from the list.