AddHandler(String,Delegate) Method
The control's event name (for example "Click").
Event handler.
Adds an Event handler in the AUT context. If other handlers exist for the event, the handler added with AddHandler is called first.
Use this method if the source control serializes the event arguments. If the source control does not serialize the arguments, use CustomServerBase.AddHandler(string EventName, Delegate e, Type SerializedArgsType)

Handlers added via this method are released by UFT infrastructure.

For an example, see EventsListenerBase.InitEventListener
Protected Overloads Sub AddHandler( _
   ByVal EventName As System.String, _
   ByVal oHandler As System.Delegate _
protected void AddHandler( 
   System.string EventName,
   System.Delegate oHandler


The control's event name (for example "Click").
Event handler.