EventHandlerList::AddHandler Method (Object^, Delegate^)

 

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: