AddHandler Method (EventsListenerBase)
The name of the Event to be handled.
The Event delegate.
Adds an event handler. If other handlers exist for the event, the handler added with AddHandler is called first.
Remarks
Used by classes derived from EventsListenerBase. Handlers added with this method are released by the UFT infrastructure.
Syntax
'Declaration
 
Protected Sub AddHandler( _
   ByVal EventName As System.String, _
   ByVal oHandler As System.Delegate _
) 
protected void AddHandler( 
   System.string EventName,
   System.Delegate oHandler
)

Parameters

EventName
The name of the Event to be handled.
oHandler
The Event delegate.