
AddHandlerByName – Attaching to an object an event handler by name
‘ A generic routine that takes an object, an event name, and a list of potential’ delegates to event handlers, and selects the first delegate that matches the’ expected signature of the event handler.’ ‘ Example:’ AddHandlerByName(da, “RowUpdated”, ‘ New OleDbRowUpdatedEventHandler’ (AddressOf OnOleDbRowUpdated), ‘ New SqlRowUpdatedEventHandler(AddressOf OnSqlRowUpdated))Sub AddHandlerByName(ByVal obj As