EventHandlerList.AddHandler Method (Object, Delegate)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds a delegate to the list.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public void AddHandler(
	object key,
	Delegate value
)

Parameters

key
Type: System.Object

The object that owns the event.

value
Type: System.Delegate

The delegate to add to the list.

.NET Framework
Available since 1.1
Return to top
Show: