I hope I can explain this in a coherent fashion.

I have the following code:

VB Code:
  1. Private Function GetANewBGWorker() As BackgroundWorker
  2.         Dim bgworker As New BackgroundWorker() With {.WorkerSupportsCancellation = True}
  3.         AddHandler bgworker.DoWork, AddressOf WorkerDoWork
  4.         Return bgworker
  5.     End Function

Say I wanted to programatically assigned the "AddressOf". What Type would i put for the "ByVal BlahBlah as Blah" section? Is